Re: [xslt] libxslt: xsl:include/import cache?
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] libxslt: xsl:include/import cache?
- Date: Tue, 4 Dec 2001 05:08:16 -0500
On Tue, Dec 04, 2001 at 10:56:21AM +0100, Elizabeth Mattijsen wrote:
> >... The space used by the stylesheet xmlDoc are shared at the XML
> >level I think, but the XSLT structure on top of it are not.
>
> Hmmm... maybe I should approach this as an entity loading problem: there
> wouldn't be any problems there with sharing, would there be? Apart from
> the fact that the entities URL might deliver different data when invoked,
> so that you would need some MD5 or similar checks in there. And that could
> be done with a callback function, or not?
I don't understand why you duplicate information in all the stylesheets
imports. Using entities sounds worse than using includes because you won't
even share the document tree...
If you need a functionality from a generated stylesheet, import it, period.
I don't understand at all why you think it's needed to replicate it multiple
time in your import tree. I probably do not understand the problem fully,
and problably can't, but it sounds to me you have a design problem.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]