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

RE: Lx: compact syntax for XML


all about syntax

Bob,

On Sun, 18 Apr 2004, Bob Wyman wrote:

> 	If you replace your parenthesis with curly braces, what you
> would have is pretty close to the International Standard ASN.1 "Value
> Notation" that was standardized back in the 80's.

Fair enough.  So how do I turn ASN.1 into a SAX event stream so that I
can read and write legible XSL using it?

> 	My personal feeling is that we should accept XML as it is for
> text-based interchange.

I entirely agree.  If you want to interchange text between machines, or
between applications, there's little can beat instance-syntax.  If you
want to interchange markup-rich XML between the screen and your head,
however, instance syntax is a bit of a disaster.

> (i.e. I'm not saying that what you've done isn't "good". I'm just
> saying that it wouldn't be good to get it widely adopted.)

Thanks, but I don't think I'm suggesting that this be `widely adopted',
just that it is useful for a certain category of authors.  ASN.1-to-SAX
would probably be equally useful.

An aside: Alongside the interchange point of view that says XML is all
about syntax, is another one, which says the point is SAX streams,
DOM structures, groves, and all.  From this perspective, it doesn't
matter what you type as long as it's turned into the right structures
reasonably easily.  I'm more aligned with this point of view; thus an
XSL script is a sequence of SAX events -- how you generate them is your
own business.  _That's_ what's clever about XML.

All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@a...

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.