Oct
30
2009
Uncategorized

xml and xpath

XML stands for extensible Markup Language

XML is a markup language like HTML.

It won’t have any predefined tags. You must define the tags.

XML was designed to describe data and to focus on what data is.

If you want to ignore some thing from the parser, you can use CDATA.

Namespaces are used to avoid the Name conflicts in XML

XPATH:

Is a language for defining parts of an xml.

xpath uses the following steps to select the node of the xml.

1.elements.

2.text

3.attributes

4. name spaces

5.processing Instructions

6.comments

7.document root

some wildcard are there in XPATH.

* – is used to retrive all the elements in the xml.
@* – is used to retrive all attribute nodes in the xml

About the Author:

Leave a comment

 

October 2009
M T W T F S S
    Jul »
 1234
567891011
12131415161718
19202122232425
262728293031  
  Domain Name + 1GB Linux India Web Hosting in Rs.349