RE: [xsl] Simple XSL but having problems

Subject: RE: [xsl] Simple XSL but having problems
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Tue, 11 May 2004 18:18:22 +0200
> -----Original Message-----
> From: Dylan Barber [mailto:dylan.barber@xxxxxxxxxxxxx]
>
<snip />
> however all i get is :|*|:
>
> what did i do wrong (please no rebukes I am trying to understand
> this and I think this structure should work its easy enough)
>

Hi,

The problem is that your XML root is the 'a' node, so in the root matching
template (match="/"), when you ask to iterate over all 'a/b' nodes, there
aren't any...

Try:
<xsl:for-each select="b">
instead.

HTH!

Greetz,

Andreas

Current Thread