[xml] Re: XInclude in xmlReader interface

mhm, i try this:

 reader = xmlReaderForFile(filename, NULL, 0);
 xmlTextReaderSetParserProp(reader, XML_PARSE_XINCLUDE , 1);

but i also get an xi:include node?

?? unsure ?!

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:

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

  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 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]