Re: [xml] Setting xml:base for xml documents processed with xsltproc?



On Sun, Mar 16, 2003 at 08:08:29PM +1100, Cameron McCormack wrote:
Inside the .xml file are some XIncludes which get processed by xsltproc.
If there are relative URLs which are XIncluded though, these are
resolved as relative filenames on the web server, not HTTP URLs.  I want
these relative URLs to be relative to the original request URL.

 You are asking for a behaviour different than the one specified by the
XInclude specification. I think you have a problem with your architecture.

Is there some way I can set the base for the XML document being
processed by xsltproc?

  Currently no. At the libxml2 + libxslt API level taht would be doable though
but not with the program.

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]