Re: [xml] mobile links for XInclude?



On Sun, Jun 22, 2003 at 09:18:18PM +0100, Ben Decker wrote:
The problem here is that the startup XML file (with all the XIncludes)
isn't parsed from the current directory, 
but is located using a system variable read by my python script... the
releative URI uses the current *working* 
directory as the reference point, not the XML source directory from where
the first XML file was parsed.
  This assertion sounds completely wrong to me. If you target the parser
to target a file then relative URI references done from the XInclude will
be computed relative to that path and not relative to the working directory.
If you loaded the file in memory and parsed the memory string then the
initial path is lost but it's not libxml2 faults.
  Honnestly I still don't see a good reason to do what you suggest,

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]