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

Re: XSLT feature request - element value templates!

Subject: Re: XSLT feature request - element value templates!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Jun 2000 19:05:45 +0100 (BST)
major xslt feature
> This will make XSLT easier to teach to new people - 
Not convinced, the {} notation is a big win in attribute values
because strings of character data are all you can have in an attribute
value anyway, but simplifying xsl:value down to {} would only deal with
a relatively infrequent case, as normally in elements you are wanting
some more structured data. using text like {} instead of an element node
like <xsl:value-of> would make xsl's white space node stripping rules
rather strange, as unlike the xsl:value of, {} would be in the same
text node as any preceding space.

You could have a <xsl:foo something="avt"/> more like the original
suggestion, as this doesn't interfere with white space stripping.
I'm not convinced that it helps much (having a more concise syntax for
passing parameters would help a lot more:-)

Having {} in text in a template would be a major compatibility problem
(even in an xsl 2.0 system) especially for those of us in the habit of
writing out tex files from xsl.

> &#123;     {          &cbra;

Neither the numeric character reference nor the cbra entity reference
would  qork as a quoting mechanism as they'd both look like an { by the
time the xml parser passed the stylesheet to the xsl system.

David


 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.