Mark Mintoff My superpower is common sense


XmlNode Reader

This is a simple little addition I have made to my Helper class today, in order to facilitate reading XMLFiles for settings. It makes use of XPath and is pretty simple: What this does is return a collection of XmlNodes so that you may loop through and get the information necessary. Here is an example of a Configuration-Style XML File: Now what I need to do is get the path attribute for files of type js for the page with the name Default. All I will need to do is: or even Like I said; pretty simple. Basic even. But it saves me a couple of lines of code, so I'm happy about it.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.