[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: Norman Gray <norman@a...>
  • Date: Fri, 26 Oct 2012 14:23:15 -0400

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@m...> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member