Hallo,
habe den untere XML_Struktur gegeben. Ich möchte nun das mein Template mir die vorhandene Strukrur kopiert und nach dem Tag "gg" mir mir einen weiteren Tag <end>EndeStrukt</end> hinzufügt.
Kann mir da jemand behilflich sein?
myTemplate.xsl
XML...
habe den untere XML_Struktur gegeben. Ich möchte nun das mein Template mir die vorhandene Strukrur kopiert und nach dem Tag "gg" mir mir einen weiteren Tag <end>EndeStrukt</end> hinzufügt.
Kann mir da jemand behilflich sein?
myTemplate.xsl
Code:
<xsl:template match="tt"> <xsl:copy-of select="." /> </xsl:template>
Code:
<tt> <test> <titel>Telefon</titel> <telefon><name>Hans</name><nummer>069 - 11727349874</nummer></telefon> <telefon><name>Sabine</name><nummer>040 - 116343432094</nummer></telefon> <gg>Hallo</gg> </test> <bb> <name> neu</name> </bb> </tt>
Comment