Click here to Skip to main content
15,900,906 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questionhow to create a ISAXLocator (in C++) ? Pin
JP GOBLET27-Nov-03 23:02
JP GOBLET27-Nov-03 23:02 
AnswerRe: how to create a ISAXLocator (in C++) ? Pin
JP GOBLET14-Dec-03 23:29
JP GOBLET14-Dec-03 23:29 
GeneralLoad data for DataGrid from XML tag Pin
trongtuan27-Nov-03 14:53
trongtuan27-Nov-03 14:53 
GeneralDTD turned into C# objects Pin
Andrew Dubinsky26-Nov-03 15:30
Andrew Dubinsky26-Nov-03 15:30 
GeneralMSXML, I am going crazy Pin
Steve Messer25-Nov-03 9:12
Steve Messer25-Nov-03 9:12 
GeneralRe: MSXML, I am going crazy Pin
Philip Fitzsimons26-Nov-03 3:12
Philip Fitzsimons26-Nov-03 3:12 
GeneralRe: MSXML, I am going crazy Pin
Steve Messer26-Nov-03 4:47
Steve Messer26-Nov-03 4:47 
GeneralRe: MSXML, I am going crazy Pin
Philip Fitzsimons26-Nov-03 5:03
Philip Fitzsimons26-Nov-03 5:03 
I guess it might be your use of the word "parsing"

anyway the code could be written in a number of ways, here are a few examples:

XmlDocument doc = new XmlDocument();<br />
doc.load(filepath);<br />
<br />
XmlNode theme = doc.SelectSingleNode("/Theme");<br />
XmlNode directory = theme.SelectSingleNode("Directory");<br />
string dirname = directory.Attributes["name"].Value;<br />
string mainFontName = theme.SelectSingleNode("MainFont/@name").InnerText;<br />
<br />
foreach (XmlNode node in theme.ChildNodes)<br />
{<br />
string name = node.Name;<br />
string firstAttrValue = node.Attributes[0].Value;<br />
}





"When the only tool you have is a hammer, a sore thumb you will have."

GeneralRe: MSXML, I am going crazy Pin
Steve Messer26-Nov-03 5:45
Steve Messer26-Nov-03 5:45 
GeneralRe: MSXML, I am going crazy Pin
Philip Fitzsimons26-Nov-03 6:54
Philip Fitzsimons26-Nov-03 6:54 
GeneralRe: MSXML, I am going crazy Pin
Steve Messer26-Nov-03 9:22
Steve Messer26-Nov-03 9:22 
GeneralRe: MSXML, I am going crazy Pin
Philip Fitzsimons27-Nov-03 2:55
Philip Fitzsimons27-Nov-03 2:55 
QuestionHow to get the file position of a IXMLDOMNode ? Pin
JP GOBLET25-Nov-03 3:54
JP GOBLET25-Nov-03 3:54 
GeneralXmlDataDocument question Pin
pankajdaga21-Nov-03 7:17
pankajdaga21-Nov-03 7:17 
GeneralRe: XmlDataDocument question Pin
Ryan Roberts21-Nov-03 7:24
Ryan Roberts21-Nov-03 7:24 
GeneralRe: XmlDataDocument question Pin
pankajdaga21-Nov-03 8:06
pankajdaga21-Nov-03 8:06 
GeneralRe: XmlDataDocument question Pin
Daniel Turini21-Nov-03 7:38
Daniel Turini21-Nov-03 7:38 
GeneralRe: XmlDataDocument question Pin
pankajdaga21-Nov-03 8:05
pankajdaga21-Nov-03 8:05 
GeneralRe: XmlDataDocument question Pin
pankajdaga21-Nov-03 8:39
pankajdaga21-Nov-03 8:39 
GeneralDirect shove of data from an XML file to a web service. Pin
Jason Weibel19-Nov-03 11:44
Jason Weibel19-Nov-03 11:44 
GeneralRe: Direct shove of data from an XML file to a web service. Pin
Ryan Roberts21-Nov-03 7:33
Ryan Roberts21-Nov-03 7:33 
GeneralRe: Direct shove of data from an XML file to a web service. Pin
Jason Weibel21-Nov-03 8:54
Jason Weibel21-Nov-03 8:54 
Generalxml formatted data from a socket to a dataset Pin
Anonymous19-Nov-03 8:18
Anonymous19-Nov-03 8:18 
GeneralRe: xml formatted data from a socket to a dataset Pin
Heath Stewart26-Nov-03 3:56
protectorHeath Stewart26-Nov-03 3:56 
GeneralSystem.ObjectDisposedException Pin
Jason Weibel19-Nov-03 3:55
Jason Weibel19-Nov-03 3:55 

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.