On Fri, Mar 14, 2003 at 09:07:34AM +0100, Steinar Bang wrote: > >>>>> Steinar Bang <[EMAIL PROTECTED]>: > > [snip! DocBook XSL stylesheets and XML Catalogs on RedHat 8.0] > > > Presumably this caused the docbook-style-xsl to tidy up after > > itself, when being removed? And my RPM doesn't put anything in > > (yet). > > I took at look at the spec file from the docbook-style-xsl source RPM > for RedHat 8.0, and discovered the xmlcatalog utility: > http://www.xmlsoft.org/xmlcatalog_man.html > > Very useful! Should make it easy to manipulate the system XML > catalogs from RPMs. Thanx for writing it, Daniel.
Yep, the pre and post install scripts of Red Hat RPMs for DocBook and XHTML resources, we use it to create/remove the associated resources from the catalog as the package is installed/removed. It can also be used to check programmatically (from a Makefile or configure) if a resource is available in the catalog. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
