dmarston 02/01/30 11:33:05 Added: test/tests/conf/idkey idkey54.xsl idkey54.xml Log: More coverage of #5851 issues Revision Changes Path 1.1 xml-xalan/test/tests/conf/idkey/idkey54.xsl Index: idkey54.xsl =================================================================== <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- FileName: idkey54 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Section: 12.2 --> <!-- Creator: David Marston --> <!-- Purpose: Test for xsl:key and key() with a leaing underscore in the name. --> <xsl:key name="_my_key" match="div" use="title"/> <xsl:template match="doc"> <out> <xsl:value-of select="key('_my_key', 'Introduction')/p"/><xsl:text> </xsl:text> <xsl:value-of select="key('_my_key', 'Stylesheet Structure')/p"/><xsl:text> </xsl:text> <xsl:value-of select="key('_my_key', 'Expressions')/p"/> </out> </xsl:template> </xsl:stylesheet> 1.1 xml-xalan/test/tests/conf/idkey/idkey54.xml Index: idkey54.xml =================================================================== <?xml version="1.0"?> <doc> <div> <title>Introduction</title> <p>Intro Section.</p> </div> <div> <title>Stylesheet Structure</title> <p>SS Section.</p> </div> <div> <title>Expressions</title> <p>Exp Section.</p> </div> </doc>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
