|
Subject: [xsl] Another (hopefully not stupid) newbie problem... From: Christian Cäsar <caesar@xxxxxxxxxxxx> Date: Mon, 16 Jul 2001 10:58:52 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath Query, Bryan Tulloch | Thread | Re: [xsl] Another (hopefully not st, David Carlisle |
| [xsl] XPath Query, Bryan Tulloch | Date | Re: [xsl] XPath Query, David Carlisle |
| Month |