xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Matching braches without a certain node


Subject: Re: Matching braches without a certain node
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Nov 2000 09:48:35 GMT

> I want to match the 'middle' nodes that _don't_ have the 'foo' node (id==2).
> This seems to work:

change
  <xsl:for-each select="//middle">
to
  <xsl:for-each select="//middle[not(@id=2)]">
or
  <xsl:for-each select="//middle[not(@id='2')]">

(depending on whether  id="4-2" is equal to 2)

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor