xsl-list
[Top] [All Lists]

Same XPath expression with diferent results

2004-12-07 12:59:20
I don't understand this. Giving the xml in
http://gti.clientes.gtinformatica.pt/Site/Java/Menus.xml if i inspect the xpath
expression //menu (using the jEdit XPath Tool) it gives a count 0f 8. That's
what i expected.

But in

        <xsl:template match="//menu">
           blabla
        </xsl:template>

blabla only appears 3 times, corresponding to the /menus/menu. Why this isn't
giving the same 8 results?

Thanks




O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--