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

Re: rephrased: passing parameters to generic templates

Subject: Re: rephrased: passing parameters to generic templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 13 Apr 2006 09:44:29 +0100
Re:  rephrased: passing parameters to generic templates
> So when text nodes or values of attribute nodes 
> are constructed (in 2.0), the string-conversion 
> rules are not followed, but instead all values 
> are spliced together (with space delimiters, it 
> appears). This is something to watch out for, 
> being notably different from 1.0 and potentially 
> the source of silent bugs when migrating.

Although this behaviour of AVT is different in 2.0 what is the same as
1.0 is that {} is essentially a syntactic trick to allow you to use
<xsl:value-of in the value of an XML atribute. In 2.0 mode xsl:value-of
similarly now gives you the value of all items not just silently
discarding all but the first.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.