Re: xml schema catalog?

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
* Jozef Kutej wrote:
>is there something like DTD catalogues for XML Schemas?
>
>What I want to do is, to write this in the schema:
>
><import namespace="http://www.w3.org/1999/xhtml"
>schemaLocation="http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd" />
>
>but I don't want http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd to be
>downloaded every time. I want to tell the xmllint or XML::LibXML that I have
>that file for that name-space locally on my disk.

See e.g. XML::LibXML::Parser's load_catalog method and the --catalog
option of xmllint, and of course the libxml2 documentation on catalogs.
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.