| |
GeekInterview.com > Interview Questions > Programming > XML
| Print | |
Question: XPath
Answer: What is XPath? |
| June 06, 2009 07:45:08 |
#1 |
| vijusatya |
Member Since: May 2009 Total Comments: 3 |
RE: XPath |
XPath describes where the items are located in a xml files
For Example <employees> <name>XYZ</name>----path for this is employees/name <address> <street address> 3 rd mg road </street address>---path--employees/address/street address <city>chennai</city> <state>tamilnadu</state> <pincode>600007</pincode> </addresss> </employees>
in general the path for an element are represented by "/" and for attributes it is represented by "@" |
| |
Back To Question | |