dmarston 01/12/19 12:57:49 Added: test/tests/conf/modes modes16.xsl modes16.xml Log: More coverage of qualified names for objects Revision Changes Path 1.1 xml-xalan/test/tests/conf/modes/modes16.xsl Index: modes16.xsl =================================================================== <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:foo="http://foo.com" xmlns:moo="http://foo.com" exclude-result-prefixes="foo moo"> <!-- FileName: MODES16 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Section: 5.7 Modes --> <!-- Creator: David Marston --> <!-- Purpose: Test that qualified name of a mode is used in expanded form. --> <xsl:output method="xml" encoding="UTF-8"/> <xsl:template match="/"> <out> <xsl:apply-templates select="doc/a" mode="foo:a"/> </out> </xsl:template> <xsl:template match="text()" mode="moo:a"> <xsl:text>mode-moo:a, </xsl:text><xsl:value-of select="."/> </xsl:template> <xsl:template match="text()"> <xsl:text>no-mode, </xsl:text><xsl:value-of select="."/> </xsl:template> </xsl:stylesheet> 1.1 xml-xalan/test/tests/conf/modes/modes16.xml Index: modes16.xml =================================================================== <?xml version="1.0"?> <doc> <a test="a attribute">a-text</a> </doc>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
