<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>AiutoSuPagineXml</title></articleinfo><section><title>Pagine XML &amp; Elaborazione XSLT</title><para>Se il modulo <ulink url="http://4suite.org/">Python4Suite</ulink> è installato sul sistema, è possibile salvare documenti XML come pagine. E' importante che la pagina inizi con una dichiarazione XML &quot;<code>&lt;?xml ...&gt;</code>&quot; nella sua prima riga. Deve anche specificare lo stylesheet che deve essere usato per trasformare il documento XML in un HTML. Questo puo' essere fatto utilizzando uno [<ulink url="http://www.w3.org/TR/xml-stylesheet/"/> &quot;xml-stylesheet&quot; standard], specificando il nome di una pagina contenente lo stylesheet nel parametro &quot;<code>href</code>&quot;. </para><para>Vedi l'esempio che segue per i dettagli, che puoi trovare anche nella pagina <ulink url="http://ninux.org/AiutoSuPagineXml/XsltVersion#">XsltVersion</ulink>. </para><section><title>Esempio</title><screen><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
]]><![CDATA[
<?xml-stylesheet href="XsltVersion" type="text/xml"?>
]]><![CDATA[
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
]]><![CDATA[
   <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
]]><![CDATA[
   <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>
]]><![CDATA[
</xsl:stylesheet>]]></screen></section><section><title>Display</title><para>&lt;?xml version=&quot;1.0&quot;?&gt; </para><para>&lt;?xml-stylesheet href=&quot;XsltVersion&quot; type=&quot;text/xml&quot;?&gt; </para><para>&lt;xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;<ulink url="http://www.w3.org/1999/XSL/Transform&quot;&gt;"/> </para><itemizedlist><listitem override="none"><para>&lt;xsl:output method=&quot;html&quot; omit-xml-declaration=&quot;yes&quot; indent=&quot;no&quot;/&gt; </para><para>&lt;xsl:template match=&quot;/&quot;&gt; </para><itemizedlist><listitem override="none"><para>This Wiki is running an XSLT engine by </para><para>&lt;xsl:value-of select=&quot;system-property('xsl:vendor')&quot;/&gt; (&lt;a href=&quot;{system-property('xsl:vendor-url')}&quot;&gt;&lt;xsl:value-of select=&quot;system-property('xsl:vendor-url')&quot;/&gt;&lt;/a&gt;) implementing XSLT v&lt;xsl:value-of select=&quot;system-property('xsl:version')&quot;/&gt; </para></listitem></itemizedlist><para>&lt;/xsl:template&gt; </para></listitem></itemizedlist><para>&lt;/xsl:stylesheet&gt; </para></section></section></article>