Sign In/My Account | View Cart  
advertisement

Article:
 Template Languages in XSLT
Subject: Namespace Issues
Date: 2005-11-30 00:56:53
From: tkk
Response to: Namespace Issues

A bit late, but I recently had the same issue as John Timm in creating an identity transform XSLT - to preserve the namespace of the original document elements in the output document you need to add a "namespace" attribute to your <xsl:element>, eg instead of:
<xsl:element name="{name()}">
use:


<xsl:element name="{name()}" namespace="{namespace-uri()}">


Hope that helps someone out there!


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Sponsored By: