blob: 703619987a4df974423be919e6fc72e791646b39 [file] [log] [blame]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: namespace81 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.2 Creating Elements -->
<!-- Creator: David Marston -->
<!-- Purpose: Mix xmlns declaration and namespace attrib (to same) in xsl:element; name has prefix. -->
<!-- NOTE: Processor developers could legitimately disagree about where the default name
has to be set in the result. It must be in effect for yyy, but could be for foo
as well. The spec doesn't address this point. -->
<xsl:template match = "/">
<out>
<xsl:element name="wxyz:foo" namespace="test.com" xmlns="test.com">
<yyy/>
</xsl:element>
</out>
</xsl:template>
</xsl:stylesheet>