| <?xml version="1.0"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" |
| xmlns="testguys.com" xmlns:ped="www.test.com"> |
| |
| <!-- FileName: namespace108 --> |
| <!-- Document: http://www.w3.org/TR/xslt --> |
| <!-- DocVersion: 19991116 --> |
| <!-- Section: 7.1.2 Creating Elements with xsl:element. --> |
| <!-- Creator: David Marston --> |
| <!-- Purpose: Use xsl:element with namespace attribute that matches default; another in scope. --> |
| |
| <xsl:template match="doc"> |
| <out> |
| <xsl:element name="inner" namespace="testguys.com"> |
| <yyy/> |
| </xsl:element> |
| </out> |
| </xsl:template> |
| |
| </xsl:stylesheet> |