Bruce Dubbs wrote in <[EMAIL PROTECTED]>

> but the specific requirements of a package
> should have the xmlcatalog instructions local to the package.
+1
> 
> I do wonder if the xmlcatalog command is smart enough to replace an
> old entry in /etc/xml/catalog that matches a new statement.
Yes, it is.
[EMAIL PROTECTED]:/etc/xml# grep URI.*current /etc/xml/catalog
  <rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/current/";
rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.67.3"/>
[EMAIL PROTECTED]:/etc/xml# xmlcatalog --noout --add "rewriteURI"    
"http://docbook.sourceforge.net/release/xsl/current/";    
"/usr/share/xml/docbook/xsl-stylesheets-1.67.2" /etc/xml/catalog
[EMAIL PROTECTED]:/etc/xml# grep URI.*current /etc/xml/catalog
  <rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/current/";
rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.67.2"/>

-- 
Regards
Alex
The email address above is a spamtrap.
alex@ the same domain will reach me
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to