Sunday, May 15, 2005

XML Exam Fever Contd....

XSL

Today I shall talk about XSL

1. XSL as we know contains of the
i) XSLT
ii) XPATH
iii) XSL-FO

Now XSLT has the following builtin templates
1. < xsl:template match='/|*' >
< xsl:apply-templates >
< /xsl:template match >
Arranges for visit on all elements

2. < xsl:template match='text()|@*' >
< xsl:value-of select='.' >
< /xsl:template match >
Arranges to output the text nodes however attributed are not visited by default

3. < xsl:template match='processing-instruction()|comment()' />
Skips the processing instructions and comments in the document.

-Kalyan

No comments: