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

Re: Identity and Modified identity transforms

Subject: Re: Identity and Modified identity transforms
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 3 Dec 2007 16:16:51 +0100 (CET)
Re:  Identity and Modified identity transforms
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 

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.