| <?xml version="1.0"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" |
| xmlns="base.test"> |
| |
| <!-- FileName: namespace120 --> |
| <!-- Document: http://www.w3.org/TR/xslt --> |
| <!-- DocVersion: 19991116 --> |
| <!-- Section: 7.1.2 Creating Elements --> |
| <!-- Creator: David Marston --> |
| <!-- Purpose: Set a prefixed name to an NS not among those in scope; prefix was in use. --> |
| |
| <xsl:template match = "/"> |
| <out xmlns:p1="xyz"> |
| <xsl:element namespace="new" name="p1:foo"> |
| <yyy/> |
| </xsl:element> |
| </out> |
| </xsl:template> |
| |
| </xsl:stylesheet> |