xsl-list
[Top] [All Lists]

RE: Simple XSL but having problems

2004-05-11 09:18:22
-----Original Message-----
From: Dylan Barber [mailto:dylan(_dot_)barber(_at_)earthlink(_dot_)net]

<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