|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [no subject]
David, You're 100% right, but Jenni's original expression: @*[not(self::dem:count)] can be simply written as follows: @*[count(../@dem:count| .) != count(../@dem:count)] This was my original idea. This expression is simpler, because it is more easy to understand and also because it will continue to yield the correct results even in case some future version of XSLT had local-name() and namespace-uri() removed (pls, bear with my weird sense of humour...). Cheers, Dimitre Novatchev. -------------------------- Original Message -------------- Re: self axis and attributes To: xsl-list at mulberrytech dot com Subject: Re: self axis and attributes From: David Carlisle <davidc at nag dot co dot uk> Date: Wed, 22 Nov 2000 11:36:39 GMT References: <20001122111955.12281.qmail@xxxxxxxxxxxxxxxxxxxxxx> Reply-To: xsl-list at mulberrytech dot com -------------------------------------------------------------------------------- > The following seems (to me) a little bit simpler: > > [count(//@dem:count| .) != count(//@dem:count)] simpler to write, but if // causes Gigabytes of input document to have to be searched, it might be a bit slower. However the idea is sound, and ../@ would work just as well, and be faster. David __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart


![[no subject]](/images/get_stylus.gif)





