forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: draft howto dtd
Date Mon, 27 May 2002 20:55:58 GMT
Hi again,

A couple of things i want to mention after rereading this...

the book.xml should have the cocoon folder-name so it can resolve to it 
instead of the docroot, for example:

<book id="f1" label="Cocoon" folder-name="cocoon">
  <menu id="f1234" label="Samples" folder-name="samples">
     <menu-item id="c3432" label="Samples Home" file-name="index.html"/>
etc...

Also, I am thinking you meant the the book-xml param might be a string 
with a relative or full path to the book.xml file??

If so, then instead of:
<xsl:param name="book-xml"/>
use:
<xsl:param name="bookDocument"/>
<xsl:variable
   name="book-xml"
   select="document($bookDocument)/book"/>

Does this make sense?

-Rob


Robert Koberg wrote:

> Hi Ivelin,
>
> Ivelin Ivanov wrote:
>
>> Good points.
>>
>> ----- Original Message -----
>> From: "Robert Koberg" <rob@koberg.com>
>>  
>>
>>> Hi,
>>>
>>> On the book.xml (menu/site-structure) and index.xml (content piece), for
>>> example: why duplicate link's href values - if you had access to
>>> book.xml (the menu or site structure) you could reference links by ID
>>> instead of a hard coded link. For example the content hard codes links
>>> to faq.html or http://xml.apache.org/cocoon. Why not have th1
Mime
View raw message