Subject: RE: [xsl] rephrased: passing parameters to generic templates From: Florent Georges <darkman_spam@xxxxxxxx> Date: Wed, 12 Apr 2006 18:30:25 +0200 (CEST) |
Michael Kay wrote: > > It's not what I understand from '5.7.2 (in XSLT 2.0, indeed, > > not XPath). > 5.7.2 is about constructing nodes (e.g. text nodes or attribute > nodes): it's not about conversion of values to a string. In > this situation, multiple strings are implicitly concatenated, > sometimes with a separator. > In 2.0, if you try to pass a sequence of nodes to a function > that expects a single string (for example, the substring() > function), or if you try to convert such a sequence to a > string directly by using string() or xs:string(), you get a > type error. But the context was about an AVT like this: <a href="{ancestor::para/docBase}"> And here, '5.7.2 apply, doesn't it? Regards, --drkm ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prifiris : virifiez vos nouveaux mails, lancez vos recherches et suivez l'actualiti en temps riel. Rendez-vous sur http://fr.yahoo.com/set
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] rephrased: passing parame, Wendell Piez | Thread | RE: [xsl] rephrased: passing parame, Michael Kay |
RE: [xsl] rephrased: passing parame, Michael Kay | Date | Re: [xsl] rephrased: passing parame, andrew welch |
Month |