Project

Profile

Help

Bug #4391 » second.xsl

placed in a different directory - David Priest, 2019-11-22 01:30

 
<xsl:package
expand-text="yes"
extension-element-prefixes="ixsl"
name="urn:publicid:rh:second"
package-version="1.0.0"
version="3.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ixsl="http://saxonica.com/ns/interactiveXSLT"
xmlns:rh="urn:publicid:rh"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:mode
name="rh:init"
visibility="public" />

<xsl:template
name="xsl:initial-template"
visibility="public">
<xsl:message>start xsl:initial-template</xsl:message>
<xsl:apply-templates
mode="rh:init"
select="ixsl:page()" />
<xsl:message>exit xsl:initial-template</xsl:message>
</xsl:template>

<xsl:template
match="html/head/title"
mode="rh:init">
<xsl:result-document
href="?."
method="ixsl:replace-content">Second Title</xsl:result-document>
</xsl:template>

</xsl:package>
(2-2/3)