xsl-list
[Top] [All Lists]

RE: [xsl] value-of w/separator and nodes

2007-02-02 12:53:45
Somehow, I found the following logic logical: take a list of 
items, each item has a type T. Concatenate all items by 
casting each type T to a string, append the separator and 
append to each other.

Yes, that would have been a much simpler rule. In fact, that's the way it
was for a while. But it caused problems, both in terms of backwards
compatibility and in terms of what users found natural, so we changed it.
The difficulties related to the strong expectation that strings produced by
adjacent xsl:text/xsl:value-of instructions would be concatenated directly.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>