[xml] Re: XInclude in xmlReader interface
- From: "Thomas Rokohl" <rokohl raygina de>
- To: xml gnome org
- Subject: [xml] Re: XInclude in xmlReader interface
- Date: Sat, 29 Nov 2003 15:50:13 +0100
mhm, i try this:
reader = xmlReaderForFile(filename, NULL, 0);
xmlTextReaderSetParserProp(reader, XML_PARSE_XINCLUDE , 1);
but i also get an xi:include node?
?? unsure ?!
Thanks
Thomas Rokohl
"Daniel Veillard" <veillard redhat com> schrieb im Newsbeitrag
news:20031127220023 GF17023 redhat com
On Thu, Nov 27, 2003 at 01:51:07PM +0100, Thomas Rokohl wrote:
hi,
i have read in the news:
added XInclude support to the xmlReader interface
but how?!
i can't find a function like xmlXIncludeProcess(doc); but for the
reader?
it's at creation time
- when creating the reader with xmlReaderForxxx or
xmlReaderNewxxx pass the XML_PARSE_XINCLUDE option
- the xi:include node will be transparently replaced from
a reader viewpoint (you won't see them, just the replacement).
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]