blob: 4068293d1b74f048d702098c2739e9dc4b4fbb88 [file] [log] [blame]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: axes128 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.3 -->
<!-- Creator: David Marston -->
<!-- Purpose: Ensure that preceding::node() does get comment and PI nodes -->
<xsl:template match="/">
<out>
<xsl:for-each select="//inner/preceding::node()">
<xsl:value-of select="name(.)"/>
<xsl:text> (</xsl:text>
<xsl:value-of select="."/>
<xsl:text>), </xsl:text>
</xsl:for-each>
</out>
</xsl:template>
</xsl:stylesheet>