Re: [xml] setting base for non-file parsing
- From: Daniel Veillard <veillard redhat com>
- To: Matt Sergeant <matt sergeant org>
- Cc: xml gnome org
- Subject: Re: [xml] setting base for non-file parsing
- Date: Wed, 14 Nov 2001 12:05:46 -0500
On Wed, Nov 14, 2001 at 04:47:43PM +0000, Matt Sergeant wrote:
Daniel et al,
How do I set the Base directory before parsing a string or stream? Can I
do that in the ParserCtxt?
Hum, the URL of the document node is inherited from the
one of the parser input stream. A string or a stream don't have
one. ctxt->input->filename is the place where the input filename
is stored, ad that's what get copied in doc->URL which gives
the base of the document.
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]