Xml/Xslt - How to get child nodes from xml file?
Asked By vsd on 23-Sep-13 06:42 AM
My xml file is:
<?xml version="1.0"?>
<user>
<details>
<name>abc</name>
<class>xyz</class>
<city>pqr</city>
</details>
<info>
<id>123</id>
<code>456</code>
</info>
</user>
and i need result as
<details>
<name>abc</name>
<class>xyz</class>
<city>pqr</city>
</details>
I tried using javascript and c#. but i was not able to find the solution. Pls help.......
Robbe Morris replied to vsd on 23-Sep-13 08:12 AM
xpath query examples
https://www.nullskull.com/a/1625/xpath-examples-for-node-attribute-and-substring-queries.aspx
vsd replied to Robbe Morris on 25-Sep-13 12:26 AM
yeah i tried this code. but works well in IE. but in chrome it displays an error......