Re: Re: [xsl] Inverse of apply-template select

Subject: Re: Re: [xsl] Inverse of apply-template select
From: russurquhart1@xxxxxxxxxxx
Date: Thu, 13 Jan 2011 14:19:22 -0600 (CST)
That worked, thanks!

btw, why is the self:: axis needed here, but not in the previous select?

Thanks again!

Russ

Jan 13, 2011 07:59:14 PM, xsl-list@xxxxxxxxxxxxxxxxxxxxxx wrote:

On 13/01/2011 19:10, Imsieke, Gerrit, le-tex wrote:
>
> You want to select all children who are not either bookinfo or title:
> 

or if you are using xslt2, the more readable

select="* except (bookinfo|title)"

also, to the original poster, you never need start an xpath with ./

David

Current Thread