Re: XML catalogs on debian



Hello

On Tue, Mar 04, 2003 at 08:49:54PM +0800, James Henstridge wrote:
>    http://www.daa.com.au/~james/files/build-xml-catalog-for-debian.sh
> [...] 
> Comments are welcome.
it worked fine for me, thank you :-)

I found it useful to extend this a bit further: After

    if [ ! -e /etc/xml/scrollkeeper-catalog.xml ]; then
	xmlcatalog --noout --create /etc/xml/scrollkeeper-catalog.xml
    fi

    xmlcatalog --noout --add "public" \
	"-//Open Source Metadata Framework (OMF) //DTD OMF.dtd V1.1//EN" \
	/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd \
	/etc/xml/scrollkeeper-catalog.xml

    xmlcatalog --noout --add "rewriteSystem" \
	"http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/"; \
	"/usr/share/xml/scrollkeeper/dtds/" /etc/xml/scrollkeeper-catalog.xml
    xmlcatalog --noout --add "rewriteURI" \
	"http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/"; \
	"/usr/share/xml/scrollkeeper/dtds/" /etc/xml/scrollkeeper-catalog.xml

    xmlcatalog --noout --add "delegateSystem" \
	"http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/"; \
	/etc/xml/scrollkeeper-catalog.xml \
	/etc/xml/catalog
    xmlcatalog --noout --add "delegateURI" \
	"http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/"; \
	/etc/xml/scrollkeeper-catalog.xml \
	/etc/xml/catalog

scrollkeeper runs happily without internet access on my Debian
system.

I hope this helps,
Jochen
-- 
                                         Omm
                                      (0)-(0)
http://www.mathematik.uni-kl.de/~wwwstoch/voss/index.html

Attachment: pgpfnCTWo2r5L.pgp
Description: PGP signature



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