Subject:Preventing namespace declaration from showing up in HTML Author:Mark Barid Date:28 Mar 2008 11:23 AM
I have the following XSLT which has an internal XML data structure. This sytle sheet outputs HTML. How do I prevent the namespace from being output to the HTML.
It is being used as such.
<xsl:apply-templates select="n:RuleSize|document('')/xsl:stylesheet/n:horizontalRuleConversion/n:RuleSize" >
<xsl:with-param name="szInPoint"><xsl:value-of select="$sizeInPoint"/></xsl:with-param>
</xsl:apply-templates>
Subject:Preventing namespace declaration from showing up in HTML Author:(Deleted User) Date:31 Mar 2008 06:34 AM
Hi Mark,
you could write that fragment inside an xsl:variable declaration, and either use the same approach to retrieve it, or use the variable directly (if the XSLT processor you are using supports tree fragments in variables).