[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Generate a list of declared namespaces
From: Anders Viklund <viklund_anders@xxxxxxxxxxx>
Date: Thu, 12 Nov 2009 09:00:23 +0000
For anyone interested, I came up with this solution:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text"/>
    <xsl:template match="/">
        <xsl:for-each select= "//namespace::*"><xsl:value-of
select="."/>,</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

_________________________________________________________________
Keep your friends updatedeven when youre not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/soci
al-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member