[lxml-dev] RESOLVED Re: document('') and custom resolver not working again/still
Stefan Behnel
stefan_ml at behnel.de
Sun Jan 27 22:38:13 CET 2008
Hi,
Brad Clements wrote:
> If you (accidentally) use the same base_url for when loading both the
> xsl and xml source, there's a 50% chance that
> document('') will return the xml source, not the xsl source object.
Ah, sure, that won't work if you happen to use both during the XSLT
evaluation, as libxslt internally caches document references by URL.
Happy to hear you've solved it.
Stefan
More information about the lxml-dev
mailing list