Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

How to build element path to query 2 nodes in XML

$
0
0

I have a sample xml which I am trying to query to show on SSRS report 

I want to show all the values from ELEMENT1 AND ELEMENT2.

I am not getting my element path right

My current query is like this 

="<Query><XmlData>" & Parameters!test.Value & "</XmlData> <ElementPath></ElementPath> <ElementPath></ElementPath> </Query>"

<Root xmlns:ns="http://schemas.microsoft.com/..."><ns:Element1><Node>Value A</Node><Node>Value B</Node><Node>Value C</Node></ns:Element1><ns:Element2><Node>Value D</Node><Node>Value E</Node><Node>Value F</Node></ns:Element2></Root>





Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>