The PEAK Developers' Center   HelpOnXmlPages UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
The following 90 words could not be found in the dictionary of 50 words (including 50 LocalSpellingWords) and are highlighted below:
Also   Display   Example   If   Include   It   Pages   Processing   Python4   See   Suite   This   Transform   Version   Xslt   also   an   as   be   by   can   containing   declaration   details   document   documents   done   encoding   engine   example   first   following   for   found   have   href   implementing   important   in   indent   installed   instruction   is   it   line   match   method   name   no   of   omit   on   org   output   page   pages   parameter   possible   process   processing   property   running   save   select   specify   standard   start   stylesheet   system   template   text   that   the   those   to   type   used   using   value   vendor   version   very   w3   which   with   xmlns   xsl   yes   you   your  

Clear message


1 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 [WWW]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.

1.1 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> 

1.2 Display

XSLT option disabled!
<?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>
[goto XsltVersion]
PythonPowered
EditText of this page (last modified 2002-12-12 16:06:09)
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck