Re: [xsl] Doesn't see elements when using namespaces

Subject: Re: [xsl] Doesn't see elements when using namespaces
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 17 Aug 2006 13:14:21 +0100

That selects all CodingNoticesP6P6B in no-namespace in the whole
document, and then since you are using value-of in xslt1, it discards
all but the first.

However your document has no such elements, it has CodingNoticesP6P6B
in namespace
so add
to your xsl stylesheet and use
so you select elements in the right namespace and only children of the
current element.

Similarly remove other uses of // and refer to other elements in the
right namespace,
    <xsl:value-of select="Name"/>
    <xsl:value-of select="TaxCode"/>
should also both use c2: namespace.

(This is a FAQ)

Current Thread