Re: XML::XPath functions
Bjoern Hoehrmann <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
* Wayne Simmons wrote: >I'm not sure if the XPath spec according to consortium says about this, but >I was wondering if it's supposed to work this way and/or if it could be >fixed. Without the ability to use functions as the last step in a path, it >is impossible to get the tag name of a node. In XPath 1.0 you cannot use function calls as steps in a path, you have to use e.g. local-name(//Apt[@AptCd='ORD']/parent::node()) In XPath 2.0 your syntax might be allowed; XML::XPath only supports 1.0. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs