The XML I have is same as web.config where data do not repeat. I want a very handy method to pull data out of the xml.
What I want is ex:
1. Response.Write( Xml("\\Roots\No de\Element"))
2. <% Xml("\\Roots\No de\Element") %>
I've gone through many example with XMLReader, Xnode, etc.. but they all involve looping over the xml which I don't want. I want to point it directly to the Element and it'll return it's value.
Is there any build tool I can use to read XML in 1 line?
How can I read xml in the minimum amount of code?
What I want is ex:
1. Response.Write( Xml("\\Roots\No de\Element"))
2. <% Xml("\\Roots\No de\Element") %>
I've gone through many example with XMLReader, Xnode, etc.. but they all involve looping over the xml which I don't want. I want to point it directly to the Element and it'll return it's value.
Is there any build tool I can use to read XML in 1 line?
How can I read xml in the minimum amount of code?
Comment