[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member