[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 2.0 feature request
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
|
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
|