Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Identity and Modified identity transforms

From: Florent Georges <lists@------------>
To:
Date: 12/3/2007 3:17:00 PM
Michael Kay WROTE:

  Hi

> I usually use "modified identity transform" to mean an
> identity template supplemented by additional templates for
> specific nodes"

  I agree.  To answer your question, Andrew, that's exactly
what I mean when I use "the Modified Identity pattern."  I
like to use the word "pattern" here because that's really a
pattern.  It can show up under several shapes, but code
becomes usually clear when you see "this stylesheet uses the
Modified Identity pattern" or "this mode is used to apply
the Modified Identity pattern."

> The pattern above is one I usually refer to as "sibling
> recursion".  Since that also covers use of any templates
> in a sibling-based tree walk, it should perhaps be
> "sibling recursion using identity template".

  I should have said "identity pattern using sibling
recursion," but maybe that's because I'm french-speaking ;-).

  But I think the point is that both are patterns.  If you
say to someone that your are using Modified Identity or
Sibling Recursion, he should directly see what you mean,
even if there are many ways to write them.  And even to
combine them, as in this case; they don't exclude each
other.

  I guess we could say Modified Identity is a behavioral
pattern while Sibling Recursion is a walking or traversal
pattern.

  Regards,

--drkm
























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent