[no subject]

From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 22 Nov 2000 05:01:45 -0800 (PST)
You're 100% right, but Jenni's original expression:


 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...).

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
be searched, it might be a bit slower. However the idea is sound, and
../@ would work just as well, and be faster.


Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.

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

Current Thread