OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Catalog dor DocBook and URI for the XSL stylesheets


On Thu, Aug 23, 2001 at 04:33:14PM -0400, Dan York wrote:
> DV,
> 
> >  I'm integrating XML Catalog into libxml and libxslt, and I would
> > really like to get a framework as standard and interoperable to test
> > before trying to push that solution on a larger scale.
> 
> You should also mention the web page you put together outlining the issue at:
> 
>   http://xmlsoft.org/catalog.html
> 
> Being someone who works both on and offline, I will be very much looking
> forward to catalog support!

  Actually there is already SGML catalogs support (though not well tested).
The more complete solution based on XML Catalogs is coded and will be in the
next releases, the main trouble will be to actually deploy the catalogs
for the various XML related packages, otherwise it works here:

orchis:~/XSLT/tests/docbook/tmp -> head -5 test.xml
<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS/DTD DocBook XML V4.1,2/EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<!-- vim:set sts=2 shiftwidth=2: -->
<article>
  <title>test &RMB;</title>
orchis:~/XSLT/tests/docbook/tmp -> xsltproc --noout --nonet ../html/docbook.xsl test.xml 
Resolve: pubID -//OASIS/DTD DocBook XML V4.1,2/EN
Parsing catalog /etc/xml/catalog
Parsing catalog file:///usr/share/xml/docbook/catalog
Trying system delegate file:///usr/share/xml/docbook/catalog
Using rewriting rule http://www.oasis-open.org/docbook/xml/4.1.2
test.xml:5: error: Entity 'RMB' not defined
  <title>test &RMB;</title>
                   ^
Catalogs cleanup
orchis:~/XSLT/tests/docbook/tmp -> 

  The is a /etc/xml/catalog Super catalog lookup, with delegates for
/usr/share/xml/docbook/catalog, itself containing a catalog and rewrite rules
for 4.1,2.

  Now if only I had a fixed URI for each stylesheets, I could also 
add them in catalogs and have a completely path independant solution...

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC