Project

Profile

Help

Bug #1445 » test-ce.xsl

xslt test file - Philip Fearon, 2012-03-23 15:56

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ixsl="http://saxonica.com/ns/interactiveXSLT"
xmlns:js="http://saxonica.com/ns/globalJS"
xmlns:prop="http://saxonica.com/ns/html-property"
xmlns:style="http://saxonica.com/ns/html-style-property"
xmlns:saxon="http://saxon.sf.net/"
>

<xsl:template name="main">
<xsl:apply-templates select="ixsl:page()/*"/>
</xsl:template>

<xsl:template match="div[@id = 'hello']">
<xsl:result-document href="?select=." method="ixsl:replace-content">
<p>HELLO WORLD!!</p>
</xsl:result-document>
</xsl:template>

</xsl:stylesheet>
(2-2/2)