How do you access elements in XML document?

Answer Posted / kaushal bhardwaj

xml elements can be accessed by the use of xpath.
xpath gives the pathe of the particuler or a groop of elements
in an absolute path method. it starts from the root and goes
to the desired node through the chield nodes. eg
/root/chield/chield of chield.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use prefixes to refer to element type and attribute names in an xml namespace?

634


What is a xml parser?

617


Why xml was created?

660


What is the difference between call template and apply template?

624


What are advantages of xml?

615


What are the components of xml?

620


Which browser first used the rss feed?

656


How do I put an rss feed on my podcast on itunes?

601


How do I use the default xml namespace to refer to element type names in an xml namespace?

627


Is xml a flat file?

673


Whether root element is required for XML? If so, how many root elements are required?

793


Define xml?

697


Is xhtml and xml same?

631


What can I do with an xml file?

618


How do you make an rss feed?

602