I once tried the below example while playing around with c#. Not sure if it works with SDE though...
Uses System.Xml and System.Xml.XPath namespaces
HOW TO: Navigate XML with the XPathNavigator Class by Using Visual C# .NET
http://www.dotnet247.com/247reference/a.aspx?u=http://www.kbalertz.com/Feedback_308343.aspxAnother one using the System.Xml namespace
http://www.dotnet247.com/247reference/a.aspx?u=http://www.c-sharpcorner.com/Tutorials/ReadWriteXMLTutMellli21.asp>not on SDE, i was on PPC2002 at the time i used xml + .net.
>Slán
>~M
>
>>Hi Mark,
>>I'm not sure if you are talking about a Pocket PC app or a Windows Forms app...
>>I am trying to do a data collection app on Pocket PC, and so far I could not find a way to read an XML file.
>>The app is a C# - Smart Device Application (using the Compact .NET framework). I built an XML file (I have an XSD schema too, but that's a secondary thing) and I'd like to read (then latter write) the XML into a dataset:
>>DataSet ds = new DataSet("myDs");
>>ds.ReadXml("myXml.xml");
>>Regardles of where I put the myXml.xml I get an fileNotFound exception error.
>>I've seen syntax with ds.ReadXml(MapPath("myXml.xml")), but that is not available for SDE.
>>Do you know how to read/write XML in a SDE application?
>>TIA
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"