|
Subject: [xsl] Selecting all the children accept those with particular attribute values From: Jo Bourne <venus@xxxxxxxxx> Date: Fri, 02 Feb 2001 14:41:16 +1100 |
Hi,
In one of the templates in my stylesheet I need to match all the children of
the current node except those with @att equal to value1 or value2. I have
tried this so many different ways and I just can't seem to get it right....
Can I even do this in a single select or do I need to call a pre-prepared
set?
My current failed attempt looks like this:
<xsl:template match="parent">
[......]
<xsl:for-each select="child::*/[@att != 'value1' | @fy !=
'value2']">
[......]
</xsl:template>
I started off more like this:
<xsl:template match="parent">
[......]
<xsl:for-each select="child::*[@att!=('value1'|'value2')]">
[......]
</xsl:template>
Thanks heaps
Jo
--
Jo Bourne
Virtual Artists Pty Ltd
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Problem generating combin, Kane, David | Thread | Re: [xsl] Selecting all the childre, David Carlisle |
| Re: [xsl] rendering a treeview *hai, Nikolai Grigoriev | Date | [xsl] Selecting all the children ac, Dimitre Novatchev |
| Month |