Re: [xml] xmllint XInclude processing



On Tue, May 20, 2003 at 04:08:55PM +0400, Vitaly Ostanin wrote:
Hello, All!

I'm use
$ xmllint --version
xmllint: using libxml version 20507
   compiled with: FTP HTTP HTML C14N Catalog DocBook XPath
XPointer XInclude Iconv Unicode Regexps Automata Schemas 

and
$ xmllint --xinclude test.xml
not replace <xi:include/> by it content until I add '--loaddtd'
like

$ xmllint --xinclude --loaddtd test.xml
This works fine.

It's normal ? It's not described in the 'man xmllint'.

  hum for the xpointer(id('vyt')/info[ lang='en']/*) to work,
the dtd of the target document needs to be loaded, so yes this is required
if you want to use id() or any ID based addressing

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]