XSLT½Ì³Ì

XSLT ÕªÒª
2007-3-30

XSLT - ±à¼­XML XSLT ÔªËØ²Î¿¼

This tutorial has taught you how to use XSLT to transform XML documents into other formats, like XHTML.
Õâ·Ý½Ì³ÌÒѾ­½Ì»áÁËÄãÈçºÎͨ¹ýXSLT°ÑXMLÎĵµ×ª»»³ÉÆäËû¸ñʽ¡£ÖîÈ磺XHTML¡£

You have learned how to add/remove elements and attributes to or from the output file.
ÄãÒѾ­Ñ§»áÁËÔõô´Ó½á¹ûÎļþÀïÌí¼Ó/ÒÆ³ýÔªËØºÍÊôÐÔ»òÕß½«ÔªËغÍÊôÐÔÌí¼Ó/ÒÆ³ýµ½½á¹ûÎļþÀï¡£

You have also learned how to rearrange and sort elements, perform tests and make decisions about which elements to hide and display.
ÄãÒ²ÒѾ­Ñ§»áÁËÔõôÔÙÅÅÁкͷÖÀàÔªËØ£¬Íê³É²âÊÔÒÔ¼°¾ö¶¨Òþ²Ø»òÏÔʾÄÄÐ©ÔªËØ¡£

For more information on XSLT, please look at our XSLT reference.
ÈçÏë»ñÈ¡¸ü¶àXSLTÐÅÏ¢£¬ÇëÔĶÁXSLT ²Î¿¼.


Now You Know XSLT, What's Next?
ÏÖÔÚÄãÖªµÀÁËXSLT£¬ÄÇÏÂÒ»²½ÄØ£¿

XSL includes 3 languages: XSLT, XPath and XSL-FO, so the next step is to learn about XPath and XSL-FO.
XSL°üº¬ÁË3ÖÖÓïÑÔ£ºXSLT, XPath ºÍXSL-FO£¬ËùÒÔÏÂÒ»²½Ó¦¸ÃѧϰµÄÊÇXPath ºÍXSL-FO¡£

XPath

XPath is used to navigate through elements and attributes in an XML document.
XPath×÷ÓÃÊÇXMLÎļþÖеÄÔªËØºÍÊôÐÔ½øÐвÙ×÷¡£

XPath is a major element in the W3C's XSL standard. An understanding of XPath is fundamental for advanced use of XML.
XPathÊÇW3C XSL±ê×¼ÖеÄÒ»¸öÖ÷ÒªÔªËØ¡£ÕÆÎÕXPath½øÒ»²½¿ª·¢XMLµÄ»ù´¡¡£

Without any XPath knowledge, you will not be able to create XSLT documents.
ûÓÐÈκÎXPathÕâ·½ÃæµÄ֪ʶ£¬Äã²»¿ÉÄÜ´´½¨XSLTÎļþ¡£

If you want to learn more about the XPath, please visit our XPath tutorial.
Èç¹ûÄãÏëѧϰ¸ü¶àXPath£¬Çë·ÃÎÊÎÒÃÇµÄ XPath ½Ì³Ì.

XSL-FO

XSL-FO describes the formatting of XML data for output to screen, paper or other media.
XSL-FOÃèÊöµÄÊÇÊä³öµ½ÆÁÄ»¡¢Îļþ¡¢ÒÔ¼°ÆäËûýÌåµÄXMLÊý¾ÝµÄ¸ñʽ¡£

XSL-FO documents are XML files with information about the output layout and output content.
XSL-FOÎļþÊǺ¬ÓйØÓÚÊä³ö°æÃæºÍÊä³öÄÚÈÝÐÅÏ¢µÄXMLÎļþ¡£

If you want to learn more about XSL-FO, please visit our XSL-FO tutorial.
Èç¹ûÄãÏëѧµ½¸ü¶àXSL-FO£¬Çë·ÃÎÊÎÒÃÇµÄ XSL-FO ½Ì³Ì.

 

XSLT - ±à¼­XML XSLT ÔªËØ²Î¿¼