Re: [xsl] node functions

Subject: Re: [xsl] node functions
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 05 Aug 2008 17:08:59 +0200
Sarkup Sarkup wrote:

<xsl:choose>
<xsl:when test="//info(not[self::pub[@level='1']">

<xsl:apply-templates select="//info(not[self::pub[@level='1']">
</xsl:when>
</xsl:choose>

I think
<xsl:apply-templates select="//info[not(pub[@level = '1'])]"/>
is what you are looking for. It processes all info elements not having a pub child element with attribute level having the value '1'.


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread