[XSLT]Insérer un espace entre deux balises
Bonjour,
Voila j'aimerais dans ce xml:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<tabMuster>
<Modele fldID="162" lang="1" ID="86" R1="0" R2="0" R3="1" R4="0" R5="0" R6="0" R7="0" R8="0" R9="0" R10="0" R11="0" R12="0" R13="0" R14="0" R15="0" R16="0" R17="0" R18="0" R19="0" R20="0" G1="1" G2="1" G3="1" G4="0" G5="0" G6="0" G7="1" G8="1" G9="1" G10="0" G11="0" G12="0" G13="0" G14="0" G15="0" G16="0" G17="0" G18="0" G19="0" G20="0" Flags="00000000000000000000" Def="0">
<Des>Vorzugsaktien</Des>
<Muster>
<b title="ein Anzahl" style="" id="N" xmlns="http://www.w3.org/1999/xhtml">^</b>
<b title="ein Text" style="" id="T" xmlns="http://www.w3.org/1999/xhtml">^</b>aktien zu CHF*<b title="ein Betrag" style="" id="B" xmlns="http://www.w3.org/1999/xhtml">^</b> (Vorzugsaktien) und <b title="ein Anzahl" style="" id="N" xmlns="http://www.w3.org/1999/xhtml">^</b><b title="ein Text" style="" id="T" xmlns="http://www.w3.org/1999/xhtml">^</b>aktien zu CHF <b title="ein Betrag" style="" id="B" xmlns="http://www.w3.org/1999/xhtml">^</b></Muster>
<Text>^^aktien zu CHF*^ (Vorzugsaktien) und ^^aktien zu CHF*^</Text>
</Modele>
...
...
...
</tabMuster> |
a l'aide d'une transformation XSLT est-il possible d'insérer des espaces entre les balises (b contenu dans l'élément Muster ) seulement pour celle qui se touche?
ex:
Code:
und <b title="ein Anzahl" style="" id="N" xmlns="http://www.w3.org/1999/xhtml">^</b><b title="ein Text" style="" id="T" xmlns="http://www.w3.org/1999/xhtml">^</b>aktien
doit devenir:
Code:
und <b title="ein Anzahl" style="" id="N" xmlns="http://www.w3.org/1999/xhtml">^</b> <b title="ein Text" style="" id="T" xmlns="http://www.w3.org/1999/xhtml">^</b>aktien
Pour info: l'élément Modele ce répète dans tabMuster.
Qu'en pensez vous? Es-ce réalisable?
Merci
Thierry