logo       

Re: URGENT : Probleme de recursivite: msg#00207

text.xml.french.tech

Subject: Re: URGENT : Probleme de recursivite

bonjour

votre template est

> <xsl:template match="//ROOT/RELEVE">
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
> xmlns:str="http://xsltsl.org/string";
> xmlns:html="http://www.w3.org/1999/xhtml";>

donc s'il y a 2 RELEVE, il y a 2 fo:root !

Faites donc un template qui correspond à la racine ('/')
et qui produit l'enveloppe FO

puis le template RELEVE gère les informations qui lui
sont relatives...

au passage, evitez si possible les expressions XPath couteuses
telles que //ROOT/RELEVE, la précision est mère de performance :)


cordialement

--
XPath free testing software : http://lantern.sourceforge.net
Frédéric Laurent http://www.opikanoba.org




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise