Re: [xsl] How do you select all unique first-position characters?

Subject: Re: [xsl] How do you select all unique first-position characters?
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 21 Nov 2002 16:10:52 +0000
Hi,

[Just to show there are some good things in XPath 2.0...]

In XPath 2.0, rather than:

  count(.|$node) = 1

you can do:

  . is $node

Of course, in XPath 2.0 and XSLT 2.0 there's a lot more support for
grouping as well, so there's less of a requirement to do ". is $node"
anyway...

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread