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

Subject: Re: [xsl] copy-of and apply-templates equivalence
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Sep 2020 19:23:19 -0000
On Fri, Sep 18, 2020 at 07:08:55PM -0000, rick@xxxxxxxxxxxxxx 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@xxxxxxxxx
^fs oferiode, pisses swa mfg.
-- Deor  ("That passed, so may this.")

Current Thread