Subject: Re: [xsl] rephrased: passing parameters to generic templates From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 13 Apr 2006 11:08:06 -0400 |
> 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.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] rephrased: passing parame, David Carlisle | Thread | Re: [xsl] rephrased: passing parame, David Carlisle |
Re: [xsl] xsl:choose and multiple (, Jon Gorman | Date | [xsl] Still not getting document() , Gosselin, Michael |
Month |