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

Re: Things that make you go Hmmmm!

Subject: Re: Things that make you go Hmmmm!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Mar 2014 19:30:54 +0000
Re:  Things that make you go Hmmmm!
On 28/03/2014 19:25, Ihe Onwuka wrote:
>> the use is completely different
Completely?

Almost completely yes, xsl:copy-of is very similar to xsl:value-of (identical on atomic values) and xsl:sequence. Saying it's similar to xsl:copy because of the name is a bit like saying JavaScript is similar to Java.

In my code I was able to substitute one for the other and get the
desired effect. Really it depends on your viewpoint. I choose to
emphasise the similarities you choose to emphasise the differences.

So you must have been copying an empty node, and not adding any content to it. In that very restricted case they do have the same effect, but that is hardly the typical use case.

David

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.