[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 3 Sins of XML Usage

  • From: Liam R E Quin <liam@w3.org>
  • To: Norman Gray <norman@astro.gla.ac.uk>
  • Date: Fri, 26 Oct 2012 14:23:15 -0400

Re:  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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.