Article View: fr.comp.text.xml
Article #327XSLT : ajout d'elements xml si champ à une valeur spécifique dans itération suivante.
From: stouff
Date: Tue, 11 Dec 2007 16:43
Date: Tue, 11 Dec 2007 16:43
24 lines
1842 bytes
1842 bytes
Bonjour,
Je suis assez peu familier de XSLT, voilà ce que je cherche à faire:
en entrée :
<lines>
<line>
<produit type='tutu'>
<detail>detail1<detail>
</produit>
</line>
<line>
<produit type='foo'>
<detail>detail2<detail>
</produit>
</line>
<line>
Résultat:
si la valeur du type est foo, agréger le produit de type tutu avec de
nouveaux éléments construits à partir du produit foo.
Technical Details
Message-ID:
<8cbfe9c9-3683-4516-b7dd-5b20ccddb3c1@x69g2000hsx.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x69g2000hsx.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 114f60,68620f01d2c9fc35,start X-Google-Attributes: gid114f60,public,usenet X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x69g2000hsx.googlegroups.com!not-for-mail From: stouff@caramail.com Newsgroups: fr.comp.text.xml Subject: XSLT : ajout d'elements xml si champ à une valeur spécifique dans itération suivante. Date: Tue, 11 Dec 2007 08:43:04 -0800 (PST) Organization: http://groups.google.com Lines: 24 Message-ID: <8cbfe9c9-3683-4516-b7dd-5b20ccddb3c1@x69g2000hsx.googlegroups.com> NNTP-Posting-Host: 194.145.144.67 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1197391385 18369 127.0.0.1 (11 Dec 2007 16:43:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 11 Dec 2007 16:43:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x69g2000hsx.googlegroups.com; posting-host=194.145.144.67; posting-account=mxnGeAkAAACSd9On9NWTOlYa-J4t9GDK User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 gate1.euredit.net:3128 (squid/2.5.STABLE12)