This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Another (hopefully not stupid) newbie problem...
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Another (hopefully not stupid) newbie problem...
- From: Christian Cäsar <caesar at mpdigital dot de>
- Date: Mon, 16 Jul 2001 10:58:52 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello all,
here's another hopefully simple stumper. Sorry if this is a case of RTFM, I
don't seem to get it.
I have a XML structure like this:
<Product>
<Langtext>
<b>Some text</b>
more text
<b>even more text</b>
</Langtext>
</Product>
and want to transform it into this:
<DESCRIPTION_LONG>
<b>Some text</b>
more text
<b>even more text</b>
</DESCRIPTION_LONG>
with <copy-of select="./Langtext"/> I get
<DESCRIPTION_LONG>
<Langtext>
<b>Some text</b>
more text
<b>even more text</b>
</Langtext>
</DESCRIPTION_LONG>
That is, there's a <Langtext> too much.
How do I get rid of the <Langtext> Element?
I already tried <copy-of select="./Langtext/*"/>, but that got
me only
<DESCRIPTION_LONG>
<b>Some text</b>
<b>even more text</b>
</DESCRIPTION_LONG>
That is, the 'more text' is missing.
Any ideas?
Thanks a lot,
Christian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list