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

RE: Language is not markup and markup is not language.

Subject: RE: Language is not markup and markup is not language.
From: "Scott S. Lawton" <ssl@xxxxxxxxxx>
Date: Sat, 8 May 1999 15:22:11 -0400
RE: Language is not markup and markup is not language.
>You might enjoy writing
>
><expr operator="+"><operand>2</operand><operand>2</operand></expr>
>
>Call me old-fashioned, but I prefer 2+2.

Call me old-fashioned, I prefer writing:

<script>
if (someObject.someProperty == 10)
	...
else
	...
</script>

to the <xsl:when> (or whatever it is) that's required by the current draft.

The XSL WG chose to squeeze procedural features into XML syntax rather than
using something familiar.  Then, they created their own syntax* for
patterns rather than using XML, with all the attendent parsing benefits.  A
very good case could be made for either doing it the other way around
(leave procedural stuff in the familiar script/programatic form but express
patterns in XML, perhaps something like
http://www.publishanywhere.com/xsl/patterns-as-xml-1a.html) or putting both
in XML syntax.

*Finally there's an acknowledged effort underway to unify with XPointer
syntax, so "their own" no longer applies directly.  But, the point remains
that patterns can be pretty complicated and that there's lots of hidden
meanings in the / [] () stuff.

$0.25,

Scott



 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.