Re: [xslt] document('')

On Sat, Jul 13, 2002 at 08:17:55AM +0100, Matt Sergeant wrote:
> >   The behaviour changed from reusing the stylesheet document to
> > reparsing it from scratch for compliance to the XSLT specification,
> You could default the base URI to something like string:/, then things
> should just work. Alternatively I'll do that in XML::LibXSLT.

  Hum, the problem is that at that point, the input stream has
been consumed, turned into a DOM tree, which itself has been modified for
the stylesheet compilation and there is no way to get again the initial
sequence of bytes ...
  I really don't see a solution just at the libxslt level, as pointed
out by Eriv van der Vlist reusing the modified DOM tree is close but
not the right solution.


Daniel Veillard      | Red Hat Network  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]