[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Serialization of XDM - Use cases / Proposal
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: "David A. Lee" <dlee@calldei.com>
- Date: Mon, 21 Sep 2009 10:31:31 +0100
> My opinion is that if I'm going to have to parse "(" and "," I'd rather be
> parsing "<wrapper> ... </wrapper>" at least I wouldn't have to write a new
> (if even simple) parser and can simply read it as XML.
With brackets and commas you can just parse out the values, at least
with XML you can take advantage of dynamic dispatch and import
precedence of XSLT, for example to easily modify any standard
parser/serialiser stylesheets you come up with... Basically XML seems
ideal for this.
> For example I would
> like to provide a 'sample implementation' of the serialize and parser
> written in pure XQuery as an additional way of describing the format besides
> prose.
XQuery, oh well :) at least it will be simple enough to also have an
XSLT equivalent...
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]