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

RE: Abbreviated form of XSLT?

Subject: RE: Abbreviated form of XSLT?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 9 Oct 2002 17:09:53 -0400
RE:  Abbreviated form of XSLT?
[Eric van der Vlist]
> 
> You can say the same for the Relax NG compact syntax (or for 
> WikiML), but in all the cases, if the compact and XML 
> syntaxes are equivalent, the argument is rather pointless 
> since your always only a simple translation away from the other!
> 
> And you can use the compact syntax with tools which do not 
> support it as long as you pass it through a pre-processor.
> 

Yes, and I actually have no objection to a non-xml syntax that is easy
for people to read and write.  I just want to make sure it can really
support the things I do.  Perhaps it was too strong to say that
referring to the stylesheet itself would be hard to work out.

> I think that we are paying too much attention to the syntax. 
> That's probably normal since the syntax is what we actually 
> see but what's important is just below and I see no problem 
> to choose the syntax that we prefer as long as it's 
> equivalent to the XML one and as long as we have converters.
> 

It would be interesting to have a reverse converter - take someone's
existing xml format and convert to compact syntax in the hopes of making
it easier to read and understand.  

However, I am against syntaxes that need lots of parentheses or braces
because those become hard to read and debug.  I sometimes use an
indented format (a la Python) for my own hand-authored to-become-xml
documents  and that works beautifully.  I have a little Python parser
that throws Sax events.  It cannot handle everything, but it does enough
to be useful.

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.