Re: Xpath

Liam R E Quin <[email protected]> Fri, 14 Dec 2012 17:30:56 -0500
Newsgroups gmane.comp.lang.perl.xml
Organization W3C - World Wide Web Consortium
Message-ID <[email protected]>
On Fri, 2012-12-14 at 22:31 +0100, Jenda Krynicky wrote:
> The problem doesn't lie in XSLTs purported functionality. It 
> lies in its braindead syntax.

There exist people who are comfortable with XML.

Those who prefer
    for $i in collection("biography-database")/person[@born lt 1800]
    return $person/name
can use XQuery instead :-)

There are Perl bindings for several XQuery implementations.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs