|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Another (hopefully not stupid) newbie problem...
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








