[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: copy and translate an element and its children

Subject: Re: copy and translate an element and its children
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 3 Jul 2003 20:52:39 +0100
xml echaracter

> Well, that's what I thought at first when I tried it before copy-of, but 
> apparently all the child element attributes are not copied.  I needed a 
> deep copy so that's why I used copy-of.  Thanks for your suggestions.

No, using position()&gt; 1 would be equivalent (except more efficient)
than what you had. If you lost child element markup but got th
echaracter data you probably used value-of some-where (that's what
value-of does) but that is a separate issue than the selection.

David

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.