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 

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

$ 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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]