xsl-list
[Top] [All Lists]

[xsl] copy-of and apply-templates equivalence

2020-09-18 13:54:31
Hi All,

 

Providing I have an identity transform template, are these two basically
equivalent?

 

<xsl:copy-of select="doc($file)/*/*" />

 

<xsl:apply-templates select="doc($file)/*/*"/>

 

I was originally using copy-of, but now I have to do something to some of
the elements in each doc. Thanks in advance.

 

Rick Quatro

Carmen Publishing Inc.

585-729-6746

rick(_at_)frameexpert(_dot_)com <mailto:rick(_at_)frameexpert(_dot_)com> 

http://www.frameexpert.com/store

 

 
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>