Altova Mailing List Archives
>xsl-list Archive Home
>Thread Prev - [xsl] applying templates to all but ...
Re: [xsl] applying templates to all but ...
Date: 9/24/2004 12:09:00 PM
Hi Bruce, I did not follow all your post, but this looks like it should be: select="$style-biblio/cs:reftype[@name='book']/cs:*[not(self::cs: creator)]"> Hah! That does it; thanks! Alternatively, since you're using XSLT 2.0, you could do: select="$style-biblio /cs:reftype[@name = 'book'] /(cs:* except cs:creator)" The (cs:* except cs:creator) selects all child elements in the cs namespace, and then removes from that sequence the cs:creator child elements. It's slightly more understandable than using the self:: axis, I think. Cheers, Jeni -- Jeni Tennison http://www.jenitennison.com