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

Subject: Re: [xsl] <xsl:apply-imports> and rules with higher priority; And more!
From: Johannes Neubauer <johannes.neubauer@xxxxxxxxxxxxxxxxx>
Date: Wed, 04 Jun 2008 19:39:40 +0200
-----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-----

Current Thread