xsl-list
[Top] [All Lists]

Re: [xsl] copy-of and apply-templates equivalence

2020-09-18 14:23:23
On Fri, Sep 18, 2020 at 07:08:55PM -0000, rick(_at_)rickquatro(_dot_)com 
scripsit:
Thank you. But if I have an identity transform template, then the results of
both should be the same, correct?

If you have no other matching templates except the identity transform,
yes, you'll get the same result.

If you ever want to add a template to tweak something, the results will
still be the same until you remember to switch the copy-of to an
apply-templates.

-- 
Graydon Saunders  | graydonish(_at_)gmail(_dot_)com
Þæs oferéode, ðisses swá mæg.
-- Deor  ("That passed, so may this.")
--~----------------------------------------------------------------
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>