[Home] [By Thread] [By Date] [Recent Entries]
Hi,
At 04:44 AM 4/13/2006, David wrote: > 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. Understood. Accordingly, a difference between 2.0 and 1.0 is that the statement <xsl:value-of select="$nodes"/> and <xsl:value-of select="string($nodes)"/> are effectively the same thing in 1.0, but not in 2.0. In 2.0 they'll give you the same thing only if $nodes happens to have a single node in the sequence, or none; otherwise you'll get a concatenated value in the first case and an error in the second. 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 ======================================================================
|

Cart



