Subject: Re: [xsl] Transforming xml with any namespace From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 25 Nov 2009 16:03:22 +0100 |
Ok, changed to XSLT 2.0, but still the same problem...
XSL: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="text" /> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="*:Type1"> <xsl:value-of select="local-name(.)"/> <xsl:text disable-output-escaping="yes">=</xsl:text> <xsl:value-of select="."/> </xsl:template> </xsl:stylesheet>
OUTPUT:
Type1=value1
Type1=value2
please dont print me
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Transforming xml with any, Anders Viklund | Thread | RE: [xsl] Transforming xml with any, Anders Viklund |
RE: [xsl] Transforming xml with any, Anders Viklund | Date | Re: [xsl] Transforming xml with any, David Carlisle |
Month |