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

Re: The use of XML syntax in XML Query


xupdate javascript
Evan Lenz wrote:

> Jonathan Borden wrote:
> > A somewhat long time ago (i.e. circa 2000) I wrote a little XML
> > editor which
> > compiled itself into XSLT http://www.openhealth.org/editor/. Work on
this
> > was merged into the XUpdate progect of xml:db
> > http://www.xmldb.org/xupdate/xupdate-wd.html. I think that the
> > XSLT _syntax_
> > is perfectly capable of _expressing_ updates, and any issues are left to
> > implementations.
>
> XEditor has been an influence in what we've been discussing on the
> TransQuery list w.r.t XSLT as an XML update language. The key distinction
> between the two approaches is that XEditor hides complexity of XSLT
> implementation via preprocessing a la Schematron, while TransQuery update
> hides complexity of XSLT implementation via xsl:import (thereby
> transparently using pure XSLT 1.0).
>

Laziness is the mother of invention.  I hacked it together without much
thought as I was finding myself writing more and more XSLT transforms to do
essentially the same thing: change a few XML elements fairly deep within a
tree. This sort of document editing makes for really ugly Javascript DOM
code, and hacking out XSLT transforms by hand in notepad gets tedious pretty
quickly. The other sort of place where it is helpful to use a little XML
language is auto generating HTML forms.

Of course my minimal knowledge of query languages has been quickly and far
surpassed by all the work going on in XML Schema, XML Query etc. so I am
afraid I have little to add to the current design of these languages (aside
from my opinion when something is too complicated or hard to use). On the
other hand, when you don't even know what the edge cases _are_ its hard to
get stuck on the wrong side of the 99/1% divide :-)

Jonathan


Jonathan


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.