Re: [xml] XML Inclusions in libxml2



Morus Walter wrote:

THANKS!! So much! This problem was big problem in our set of documents. Oh, my stupid head...

Vitaly Ostanin writes:

When I test it with
$ xmllint --noout --valid devel.xml

I get errors "No declarations for ..."


These elements aren't declared in the docbook dtd. So xmllint is right, isn't
it?

Yes, you right.

Tell me, please does libxml2 support for XML Inclusions?

Well you can use xmllint --xinclude devel.xml
to resolve xincludes and parse then (using a second call of xmllint).

Yes, full syntax for me is:

$ xmllint --xinclude --postvalid --noout file.xml

It's cool! I love libxml :)

--
Regards, Vyt
mailto:  vyt vzljot ru
JID:     vyt vzljot ru




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