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

Re: best practices re xsl:{import,include,next-match,

Subject: Re: best practices re xsl:{import,include,next-match,apply-imports}
From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx>
Date: Wed, 07 May 2008 18:46:25 -0700
Re:  best practices re  xsl:{import
> No magic answer to this one. You could use apply-imports instead of
> next-match - interesting to see that there is a use case for this. Is there
> any reason the generic match="node()|@*" template can't be moved into the
> generic stylesheet module?
> Changing the import to include seems to me to be storing up other problems
> for the future.

I suppose that the reason I hadn't considered the match="node()|@*"
template because I had thought of traversal logic as being "more specific"
than would be appropriate for a generic stylesheet.  I suppose if one
thinks of this as part of the library contract, that traversal is handled
by the generic stylesheet and you can override that if necessary, then
moving it would be appropriate.

I think I'll do that, then... Thank you. :)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson                       jim.robinson@xxxxxxxxxxxx
Stanford University HighWire Press      http://highwire.stanford.edu/
+1 650 7237294 (Work)                   +1 650 7259335 (Fax)

Current Thread


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.
First Name
Last Name
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.