xsl-list
[Top] [All Lists]

RE: [xsl] rephrased: passing parameters to generic templates

2006-04-12 11:08:06
At 12:37 PM 4/12/2006, Mike wrote:
>   But the context was about an AVT like this:
>
>     <a href="{ancestor::para/docBase}">
>
>   And here, §5.7.2 apply, doesn't it?
>

Yes, it does. I wasn't following the thread carefully.

Hm, yes it appears I was wrong. (Or at least Saxon 8.7 shows me to be.)

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.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
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>
--~--