XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 3 Sins of XML Usage

On Fri, 2012-10-26 at 10:19 +0100, Norman Gray wrote:
> Roger, hello.
> 
> On 25 Oct 2012, at 17:46, "Costello, Roger L." <costello@mitre.org> wrote:
> 
> > Sin #1: Using Java to Process XML 
[...]

> XSLT is an attractive language in many ways, but it's sufficiently
> syntactically nasty that I always end up grinding my teeth if I write
> more than a relatively small amount of it.  One can over-sell the case
> for XSLT.
You might find you happen to prefer XQuery.

> 
> And I know that XPath is a distinct language, but (possibly my
> ignorance) I'm not aware of many opportunities to use that outside the
> context of XSLT.

You can use XPath directly from Java without involving XSLT if you like.

XPath is also available from Python, Perl, PHP, C, C++, JavaScript, SQL,
and many other languages.

Most languages provide XPath 1, which is rather old, but there are also
XPath 2 (or XPath 3 draft) implementations floating around.

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
Co-author: 5th edition of "Beginning XML", Wrox, 2012



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS