A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
How to get a XPath and X-query with the XML document
Joined: Feb 17, 2009
Dec 06, 2009 12:45:16
please tell me that
how i can get a X-path and x- Query through this code .
1.Write x-path to get the emp name whose emp id is"XSF02030".
2.Write x-query to get the mobile number of employee whose emp id is"XSF0229".please refer above xml.
<employees> <employee empid="XSF0229"> <empName>Krishna</empName> <empAddress>sector-17Noida</empAddress> <mobile>9999999999</mobile> </emp> <emp empid="XSF0230"> <empName>Ravi</empName> <empAddress>Delhi</empAddress> <mobile>9998888889</mobile> </employee> </employees>
thanks a lot.
Joined: Oct 27, 2005
Dec 06, 2009 13:19:25
We have a special XML forum for this. Moving there.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: How to get a XPath and X-query with the XML document
one to many mapping
Hibernate Desing issue
One To One Mapping not working, plz help me out
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013