Re: [xsl] Inverse of apply-template select

Subject: Re: [xsl] Inverse of apply-template select
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Thu, 13 Jan 2011 20:10:40 +0100
On 13.01.2011 19:51, russurquhart1@xxxxxxxxxxx wrote:
<xsl:apply-templates select="*[not(./bookinfo) or not(./title)]"/>

You select all children that don't have a child named bookinfo together with all children that don't have a child named title.


You want to select all children who are not either bookinfo or title:
    <xsl:apply-templates select="*[not(self::bookinfo or self::title)]" />

Current Thread