[oXygen-user] Website DTD Error
Sorin Ristache
Thu Jul 7 03:35:48 CDT 2005
Dear Raymond,
After you generate the intermediate file autolayout.xml you should
process it with one of the Website stylesheets that generate the entire
site, for example chunk-tabular.xsl or chunk-website.xsl and not process
separate webpages with autolayout.xsl. The stylesheet autolayout.xsl is
used only to generate the layout file autolayout.xml. For more details
please see
http://www.sagehill.net/docbookxsl/GenerateWebpages.html
Best regards,
Sorin
Raymond wrote:
> The id is required but did not completely solve the problem:
>
> ----------------------------------------
>
> <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website Full V2.6//EN"
>
> "file:///usr/local/docbook-website/schema/dtd/website-full.dtd"
>
> [
>
> <!ENTITY % sharedEntities SYSTEM
>
> "file:///_srcBase_/foo/website/foo.ent">
>
> %sharedEntities;
>
> ]>
>
> ---------------------------------------
>
> fails with error 128 while
>
> ---------------------------------------
>
> <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website Full V2.6//EN"
>
> "file:///usr/local/docbook-website/schema/dtd/website-full.dtd">
>
> -------------------------------------
>
> transforms without error.
>
> Note _srcBase_ is defined in a global catalog as
>
> ------------------------------------------------------------------------------
>
> <rewriteSystem
>
> systemIdStartString="file:///_srcBase_/"
>
> rewritePrefix="file:///home/foo/docbook/" />
>
> ----------------------------------------------------------------------------------
>
> and is resloved prior to
>
> ------------------------------------------------------------------------------
>
> <nextCatalog catalog="catalog.xml"
>
> xml:base="file:///usr/local/docbook-website/" />
>
> ----------------------------------------------------------------------------------
>
> Works fine with both docbook.xsl and chunk.xsl
>
> Would appear the autolayout stylesheet may not like Entity declarations ...
>
> Raymond
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list