This wiki has been migrated to and is now deprecated. Please use that site instead.
Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2004-09-04 18:09:34
Size: 1361
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 3 as of 2005-01-10 15:14:21
Size: 1361
Editor: GeraldCombs
No differences found!

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 [ 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.


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

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

<xsl:stylesheet version="1.0" xmlns:xsl="">

   <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')"/>




HelpOnXmlPages (last edited 2008-04-12 17:50:17 by localhost)