You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Sebastian Bergmann <sb...@sebastian-bergmann.de> on 2003/09/18 11:07:30 UTC

Integrating DocBook with Forrest

  Hi,

  I copied a DocBook/XML document to my Forrest site's xdocs/ directory
  and added a link to it to my site.xml.

  Forrest then generates an HTML file for the DocBook/XML document, but
  that file only contains the layout and no content, in other words

    <xsl:apply-templates select="div[@class='content']"/>

  is empty.

  What am I doing wrong?

  And is it possible to get chunked output from the DocBook/XML document
  with the chunks automatically added to the sitemap? *dreaming*

  Thanks,
Sebastian

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/


Re: Integrating DocBook with Forrest

Posted by Sebastian Bergmann <sb...@sebastian-bergmann.de>.
Juan Jose Pablos wrote:
> And it works for me.

  Thank you so much,
Sebastian

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/


Re: Integrating DocBook with Forrest

Posted by Juan Jose Pablos <ch...@che-che.com>.
Sebastian

I made this change on your file:


< <!DOCTYPE book SYSTEM "file:///e:/home/docbook/dtd/docbookx.dtd"

 > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
            "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"

And it works for me.

Cheers,
Cheche

Sebastian Bergmann wrote:
> Juan Jose Pablos wrote:
> 
>>Pelase forward the docbook file if is not too big.
> 
> 
>   I uploaded it to
> 
>     http://www.sebastian-bergmann.de/stuff/manual.xml
> 
>   Thanks,
> Sebastian
> 



Re: Integrating DocBook with Forrest

Posted by Sebastian Bergmann <sb...@sebastian-bergmann.de>.
Juan Jose Pablos wrote:
> Pelase forward the docbook file if is not too big.

  I uploaded it to

    http://www.sebastian-bergmann.de/stuff/manual.xml

  Thanks,
Sebastian

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/


Re: Integrating DocBook with Forrest

Posted by Juan Jose Pablos <ch...@che-che.com>.
Sebastian,

Pelase forward the docbook file if is not too big.

Cheers,
Cheche

Sebastian Bergmann wrote:
>   Hi,
> 
>   I copied a DocBook/XML document to my Forrest site's xdocs/ directory
>   and added a link to it to my site.xml.
> 
>   Forrest then generates an HTML file for the DocBook/XML document, but
>   that file only contains the layout and no content, in other words
> 
>     <xsl:apply-templates select="div[@class='content']"/>
> 
>   is empty.
> 
>   What am I doing wrong?
> 
>   And is it possible to get chunked output from the DocBook/XML document
>   with the chunks automatically added to the sitemap? *dreaming*
> 
>   Thanks,
> Sebastian
>