Subject: Re: best practices re xsl:{import,include,next-match,apply-imports}
From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx>
Date: Fri, 09 May 2008 06:03:44 -0700
|
> At 06:51 PM 5/7/2008, Mike wrote:
> >Is there any reason the generic match="node()|@*" template can't be
> >moved into the generic stylesheet module?
>
> Or even into a module of its own, and imported first.
>
> Cheers,
> Wendell
Yes, I still haven't trained myself to immediately think of using a
"mixin" approach to programming in XSLT. The mixin model seems more
natural to XSLT than most other languages I've used.
Jim
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson jim.robinson@xxxxxxxxxxxx
Stanford University HighWire Press http://highwire.stanford.edu/
+1 650 7237294 (Work) +1 650 7259335 (Fax)
|