xsl-list
[Top] [All Lists]

Re: xsl:apply-templates to all but...

2006-02-17 07:40:38
<xsl:apply-templates select="*[not(self::y)][not(self::z)]"/>

Nice idea, I'm glad I asked! And (thanks Michael) once again XSLT 2.0, or
in this case XPath 2.0, makes something else possible with a more concise
syntax.

But the output here would be Y X Z not Y Z X.......

My mistake in the example. I was trying to show that I wanted to output y
out of sequence and meant to say that I wanted to output the children of w
in (y,x,z) order.

Bob


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>