Click here to Skip to main content
15,905,877 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: @ Symbol within XML Schema Pin
tomkettering5-Jan-09 22:31
tomkettering5-Jan-09 22:31 
Questionschema for xml document Pin
tejesh1232-Jan-09 22:26
tejesh1232-Jan-09 22:26 
AnswerRe: schema for xml document Pin
Brij4-Jan-09 1:13
mentorBrij4-Jan-09 1:13 
QuestionCData Problem Pin
SreejithKumar M1-Jan-09 22:57
SreejithKumar M1-Jan-09 22:57 
Questionwhat is the benefit of DTD ? DTS VS Schema? Pin
Honeyboy_201-Jan-09 13:52
Honeyboy_201-Jan-09 13:52 
AnswerRe: what is the benefit of DTD ? DTS VS Schema? Pin
Brij2-Jan-09 0:28
mentorBrij2-Jan-09 0:28 
Questionxflat usage Pin
jeffkish31-Dec-08 9:43
jeffkish31-Dec-08 9:43 
QuestionProblem in reading XML schema... Pin
nileshbahirshet26-Dec-08 20:05
nileshbahirshet26-Dec-08 20:05 
I want to read the following xml schema file
and I want to take/pickup only elements name like ID,Trademark and model

<?xml version="1.0" encoding="utf-8" >
<NewDataSet>
<xs:element name="Cars">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="xs:int" minOccurs="0"/>
<xs:element name="Trademark" type="xs:string" minOccurs="0"/>
<xs:element name="Model" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</NewDataSet>

I have this code

Try
Dim reader As New Xml.XmlTextReader("C:\xml\XMLFile2.xml")
Dim s As String = ""
While readee.Read
If reader.AttributeCount < 2 Then
s = reader.LocalName <---------------Returns element
End If
End If
End While
Catch ex As Exception
End Try

In above code the line reaturns the 'element' keywod
but I want 'ID','tradeMark','Model' insted of element keyword...
How can I do this ?
AnswerRe: Problem in reading XML schema... Pin
Brij27-Dec-08 0:06
mentorBrij27-Dec-08 0:06 
GeneralRe: Problem in reading XML schema... Pin
nileshbahirshet27-Dec-08 1:26
nileshbahirshet27-Dec-08 1:26 
QuestionProblem in reading XML schema... Pin
nileshbahirshet26-Dec-08 20:04
nileshbahirshet26-Dec-08 20:04 
AnswerRe:Repost Pin
Brij26-Dec-08 23:48
mentorBrij26-Dec-08 23:48 
QuestionHow to read only Nodes in schema ? Pin
nileshbahirshet26-Dec-08 1:05
nileshbahirshet26-Dec-08 1:05 
AnswerRe: How to read only Nodes in schema ? Pin
Not Active26-Dec-08 3:20
mentorNot Active26-Dec-08 3:20 
QuestionC# .NET web services: Manipulating XML Pin
tiwari_neha23-Dec-08 18:06
tiwari_neha23-Dec-08 18:06 
AnswerRe: C# .NET web services: Manipulating XML Pin
Brij23-Dec-08 20:37
mentorBrij23-Dec-08 20:37 
GeneralRe: C# .NET web services: Manipulating XML Pin
tiwari_neha23-Dec-08 22:34
tiwari_neha23-Dec-08 22:34 
GeneralRe: C# .NET web services: Manipulating XML Pin
Brij23-Dec-08 23:07
mentorBrij23-Dec-08 23:07 
AnswerRe: C# .NET web services: Manipulating XML Pin
Not Active24-Dec-08 3:43
mentorNot Active24-Dec-08 3:43 
QuestionProblem with Installing Service from MSM in WIX Pin
swamy Narasimha23-Dec-08 4:36
swamy Narasimha23-Dec-08 4:36 
QuestionDynamically Creating Tables based on XSD or XML Pin
Dan Madden18-Dec-08 6:34
Dan Madden18-Dec-08 6:34 
AnswerRe: Dynamically Creating Tables based on XSD or XML Pin
led mike18-Dec-08 9:23
led mike18-Dec-08 9:23 
QuestionHTML Transparent Background Pin
Punitha_V17-Dec-08 14:16
Punitha_V17-Dec-08 14:16 
AnswerRe: HTML Transparent Background Pin
Brij18-Dec-08 1:10
mentorBrij18-Dec-08 1:10 
QuestionXmlSchemaValidationException Pin
mdv11316-Dec-08 5:35
mdv11316-Dec-08 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.