This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: 2.0 feature request
- To: DPawson at rnib dot org dot uk
- Subject: Re: [xsl] 2.0 feature request
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Tue, 20 Feb 2001 08:59:52 +0000
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <9B66BBD37D5DD411B8CE00508B69700F4F0285@pborolocal.rnib.org.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dave Pawson wrote:
> /emp[rating = "Poor"]/@mgr->emp/@mgr->emp/name
>
> the -> operator is our old id() function in new clothes.
>
> I think this would be extremely useful.
Just to point out that when you put that into an expression in XSLT
you get:
/emp[rating = "Poor"]/@mgr -> emp/@mgr -> emp/name
(the > signs have to be escaped in attribute values) which is slightly
less easily readable. It would be nice (i.e. preferential but fairly
low priority) if XPath 2.0 could steer away from using characters that
have to be escaped in attribute values (though it's obviously already
using some, and there are only so many characters you can use).
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list