This is my second day with Cocoon.

In my application I'd like the common border, side bar and such.

Does it make sense to create my own schema for content. Rather than
attempt to to generate xhtml directly off of xml documents, generate
a document as such:

<page level="2">
  <title>This the Staff Meeting Page</title>
  <body>
    <para>This is content on how to use this page.</para>
    <form href="meeting-rsvp.xml"/>
    <para>Please read this, it is very important.</para>
    <document href="meeting-policies.xdoc"/>
  </body>
</page> 

Just made that up. The point being that I abstract the content of a
page into its components. The meeting-rsvp form can be used on other
forms. Most transforms would generate this format, instead of
straight xhtml, moving xhtml to a separate page.

The document element would render with links to print as pdf, or
view in a separate window, for example. The links and javascript
would be in the stylesheet that renders xhtml.

Of couse, this is so obvious, who has done this already?

-- 
Javier del Gesu - [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to