XML Parsing
Today i started work on a desktop cleaning / sorting application called DeskTidy. I realised that I wanted to store a list of user defined filters for automatically tidying the desktop (based on filesize, type, age etc etc). The best way to store such information seems to be an XML document, so after research I found this document showing how to read an XML document from inside c# .NET, making use of the XMLTextReader object.
http://www.codeproject.com/csharp/csreadXml1.asp
or
This should come in handy for anyone wanting to read an XML document from c#.NET. The object loops through nodes inside the xml and picks out variables. I think it can also cache and parse remote XML files from a URL (anyone making yet another rss reader?), not something I have tried though. In addition to the XMLReader object, the object XMLWriter exists to do pretty much the opposite. Here is some msdn coverage of the object
MSDN Article
Hope this is useful!
http://www.codeproject.com/csharp/csreadXml1.asp
or
This should come in handy for anyone wanting to read an XML document from c#.NET. The object loops through nodes inside the xml and picks out variables. I think it can also cache and parse remote XML files from a URL (anyone making yet another rss reader?), not something I have tried though. In addition to the XMLReader object, the object XMLWriter exists to do pretty much the opposite. Here is some msdn coverage of the object
MSDN Article
Hope this is useful!
1 Comments:
Quite right! I think, what is it good idea.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home