UserPreferences

HelpOnXmlPages


1. XML Pages & XSLT Processing

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

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

1.1. Example

<?xml [http://janiewhite1818.tripod.com/131272.htm v]ersion="1.0" encoding="ISO-8859-1"?>

<?xml-stylesheet [http://irssnoops1152.tripod.com/wbxmyxg.htm h]ref="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 [http://uk.geocities.com/set_thanks_162/182790.htm r]unning 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>

1.2. Display

<?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:stylesheet>

[WWW]Data Recovery Los Angeles [WWW]Data Recovery [WWW]Cable Internet Providers [WWW]Aloe Vera [WWW]Sell Gold [WWW]Drainage Birmingham [WWW]Jeans Guide [WWW]Vitamine E [WWW]Fair Trade Gold

xMSx xMSx