Project

Profile

Help

Bug #4537 » driver.xsl

Norman Tovey-Walsh, 2020-05-01 22:45

 
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:f="http://docbook.org/ns/docbook/functions"
exclude-result-prefixes="xs f"
version="2.0">

<xsl:import href="units.xsl"/>

<xsl:output method="xml" encoding="utf-8" indent="no"
omit-xml-declaration="yes"/>

<xsl:template match="/">
<doc>
<xsl:value-of select="f:parse-length('1.0in')"/>
</doc>
</xsl:template>

<xsl:template match="attribute()|text()|comment()|processing-instruction()">
<xsl:copy/>
</xsl:template>

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