xsl-list
[Top] [All Lists]

Re: [xsl] node functions

2008-08-05 08:09:32
Sarkup Sarkup wrote:

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

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

I think
  <xsl:apply-templates select="//info[not(pub[(_at_)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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>