> -----Original Message-----
> From: massimo [mailto:[EMAIL PROTECTED]]
> Subject: Cocoon and PDF/HTML-Layout Tools Integration (for expl.
> QuarkXPress,... etc.)

> Does someone have made already some experience whit the
> integration of
> PDF/HTML-Layout tools?
> or are there other possible ways to go?

Hi Massimo.

I've not used any visual XSLT design tools, though I've heard of them.

But I have used an approach in Cocoon where your layout is done in html
(using any html editor - we used DreamWeaver). In the template HTML, you add
a few extra attributes to refer to the data (the content of the page), e.g.
<span template:for-each="breadcrumb">. You can also use
attribute-value-templates in your html, and variable-substitution in the
text of the html, like this:

<table>
        <tr for-each="topic">
                <td>{topic-name}</td><td>{topic-value}</td>
        </tr>
</table>

You can use the HTMLGenerator to convert the HTML layout to XHTML, transform
it into valid XSLT, and you have a XSLT stylesheet without too much XSLT,
written in a generic HTML editor, with a few extra "custom" attributes etc
(not usually a problem).

Cheers!

Con


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to