xsl-list
[Top] [All Lists]

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

2002-11-21 09:10:52
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