MoniWikiDiff for HelpOnXmlPages
Login:
Password:
´ë¹®|ã±â|¹Ù²ï±Û|¸ñ·Ï|¸Þ¸ðÀå|Ã¥°¥ÇÇ|¿¬²É|¸µÅ©
Edit Diff Reload Search Print Info Mail Help RSS

¿¾ ¹öÀüÀÌ ¾ø½À´Ï´Ù



XML Pages & XSLT Processing #

If you have Python4Suite installed in your system, it is possible to save XML documents as pages. It's important to start those pages with an XML declaration "<?xml ...>" in the very first line. Also, you have to specify the stylesheet that is to be used to process the XML document to HTML. This is done using a [http]standard "xml-stylesheet" processing instruction, with the name of a page containing the stylesheet as the "href" parameter.

See the following example for details, which can also be found on the XsltVersion page.

Example #


<?xml version="1.0" encoding="ISO-8859-1"?>

<?xml-stylesheet href="XsltVersion" type="text/xml"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

   <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>

   <xsl:template match="/">
     This Wiki is running an XSLT engine by
     <xsl:value-of select="system-property('xsl:vendor')"/>
     (<a href="{system-property('xsl:vendor-url')}"><xsl:value-of select="system-property('xsl:vendor-url')"/></a>)
     implementing XSLT v<xsl:value-of select="system-property('xsl:version')"/>
   </xsl:template>

</xsl:stylesheet>

Display #

[[Include(XsltVersion)]]

January, 2025
 1234
567891011
12131415161718
19202122232425
262728293031 

¼Õ¿¡ ¸ÁÄ¡¹Û¿¡ µç °ÍÀÌ ¾ø´Ù¸é, ¼¼»ó ÀüºÎ°¡ ¸øó·³ º¸ÀÏ °ÍÀÌ´Ù.

¹Ù¶÷_gems_Localizing
Scrap201009_Shanda
Ã¥°¥ÇÇ_ProgrammingVitamin
HelpOnLists
last modified 2004-02-02 11:13:06
º¸±â|ã±â|ÂÊ Áö¿ì±â|ºñ½ÁÇÑ ÂÊ Valid XHTML 1.0! Valid CSS! powerd by MoniWiki
0.0146 sec