Saturday, December 30, 2006

PHP 5 supports the xslt transformations. if you want to use this features ,you can add the xsl extension in php.ini file.

This extension is used for xsltprocessor. After enabling the extension,you can restart the apache server.then only the changes will be affected.

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.

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.