|
Subject: RE: [xsl] XPath selection using // From: "Filipe Correia" <filipe.correia@xxxxxxxxxxxxxxx> Date: Wed, 17 Jul 2002 16:26:54 +0100 |
Hi,
>I am a little unsure of what you are trying to do and your xml
>sample is not well formed but here goes;
Ooops, sory about that... but you've figured it out the right way. :)
>
>This template will produce the result you are after;
>
> <xsl:template match="m">
> Attribute a of the following m is: <xsl:value-of
>select="following::m/@a"/>
> </xsl:template>
>
>The 'following-sibling' axes will only match nodes of the same depth
>of the xml document.
Somehow I've managed not to see the "following" axis in the documentation.
It's working perfectly now.
Thanks!
Filipe
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath selection using //, Ben Fry | Thread | Re: [xsl] XPath selection using //, Vasu Chakkera |
| [xsl] Creating Hierachial menu, Terry Clark | Date | [xsl] How to reuse param in two dif, Zoe Peng |
| Month |