[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [ERR XTSE0210] when importing a stylesheet indirectly
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I try to do something like this: A imports B B imports A This does not work. I get an [ERR XTSE0210] (saxonb-9.0.0.2 for java). I had a look at the specification and found that this is normal behaviour. This seems to be one of the rare cases where the spec changed after XSLT 2.0 Programmers Reference Third Edition. How can I avoid to have circular dependencies, when I have something like this: Stylesheet 'A' has several xsl:key definitions. One of them uses a function of 'B'. B uses some of the key definitions of 'A'. This is a general requirement, I think. The restriction is really constraining me or is there a workaround despite from splitting 'A' in many pieces, in order to avoid circularities? Sometimes this will be impossible, if there are real circular dependencies (an xsl:key depends on the function and the function calls exact that key). Another possibility would be, to include (not xsl:include) the key into 'B', but then I cannot modularize well, if more than one module depends on the keys of 'A'. wfg, Jonny. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHxyhXGaEJacf6i/cRAo7xAJ9EE2h0a9z+y1Q3gQeQdkXswg3wkwCeJq97 wXoBwTmAcWwtfj3YpbWgkVo= =4+xz -----END PGP SIGNATURE-----
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|