Getting nodes in jxpath

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jemarz018
    New Member
    • Dec 2013
    • 1

    Getting nodes in jxpath

    Need Help: How can i get the values of all the Header and Directories node using jxpath?
    Also I will use the CountryCd as a filter using jxpath?

    Sample xml below:

    Code:
    	<Country>
    		<Header>
    			<CountryCd>25</CountryCd>
    			<CountryName>Phil</CountryName>
    			<ISOCountryCd>PH</ISOCountryCd>
    		</Header>
    		<Directories>
    			<XML>D:/Phil.xml</XML>
    			<XSD>D:/Phil.xsd</XSD>
    		</Directories>
    	</Country>
    Last edited by zmbd; Dec 21 '13, 04:38 PM. Reason: [Z{Please use the [CODE/] button to format posted code script and formated text - Please read the FAQ}]
Working...