xsl-list
[Top] [All Lists]

Re: [xsl] <xsl:apply-imports> and rules with higher priority; And more!

2008-06-04 10:40:08
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Michael Kay schrieb:
| For most applications, I think <xsl:next-match> is more likely to do what
| you want than <xsl:apply-imports>. It's certainly easier to understand.
|
| xsl:next-match simply defines an ordering of all the template rules for a
| mode, ordered first by precedence, then by priority, then by document
order;
| it finds the current template in that list, and calls the next one
down the
| list that matches the current node.
|
| xsl:apply-imports is a bit more complicated; it only considers rules in an
| "imported stylesheet layer", where a layer means a stylesheet that you
| import, plus all modules that include or are included by that module.


|
| The big advantage of next-match is that it allows you to invoke
| lower-priority templates in the same module.


But that's not what I need, as I described in my last message. So, what
I described is not possible?

wfg,
Jonny
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIRtNcGaEJacf6i/cRAqNfAKCfQUBCBG+cAeWM6UqPo9gdUi3ZKQCeLNqs
BqyZykMEx8plVySSF9++ehg=
=ckjT
-----END PGP SIGNATURE-----

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--