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

Re: [ERR XTSE0210] when importing a stylesheet indirec

Subject: Re: [ERR XTSE0210] when importing a stylesheet indirectly
From: Johannes Neubauer <johannes.neubauer@xxxxxxxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 11:53:57 +0100
Re:  [ERR XTSE0210] when importing a stylesheet indirec
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Michael Kay schrieb:
| This actually raises an interesting point that I hadn't thought of before.
| then I think that in Saxon, one index is going to be built for each key
| definition, the indexes will all be searched, and duplicates in the result
| will then be eliminated. So although it does no functional harm to repeat
| the key declaration, there will be a performance cost! This applies
| regardless whether you do xsl:include or xsl:import.

Oh, that's a behaviour I didn't expect. Why don't you look at the key
definition and if there already is a key definition with that name, use
and match attributes, no new index is created? Will you change this in
future releases?

| I haven't actually encountered this problem in practice. I think my advice
| would be to modularize the code so that all access to a particular part of
| the data is channeled through functions and templates in one stylesheet
| module - treat the module as encapsulating that part of the data;
knowledge
| of (and need for) keys on that part of the data will then be confined to
| that module.

I have to rethink my import strategy.

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

iD8DBQFHx+REGaEJacf6i/cRAlpCAJ40RhdtDwAkHVdzTPP6kMRBG8xT4QCcDnhS
7CuygnCI2ejFkuLB+U5BT5Q=
=/PIv
-----END PGP SIGNATURE-----

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

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.
Email
First Name
Last Name
Company
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-2007 All Rights Reserved.