[Fwd: [Fwd: RE: Cocoon and PDF/HTML-Layout Tools Integration (for expl. QuarkXPress,... etc.)]]
Michael Wechner <[email protected]>
| Newsgroups | gmane.comp.cms.wyona.user |
|---|---|
| Message-ID | <[email protected]> |
That might be of interest to some of you, how you can do "HTML-layouts" without having to know XSLT Please see Con's answer below Michael -------- Original Message -------- Subject: RE: Cocoon and PDF/HTML-Layout Tools Integration (for expl. QuarkXPress,... etc.) Date: Thu, 12 Sep 2002 21:10:37 +1200 From: "Conal Tuohy" <[email protected]> Reply-To: [email protected] To: <[email protected]> > -----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]> -- OSCOM - Open Source Content Management Conference September 25th - 27th 2002, Berkeley, California http://www.oscom.org/conferences/berkeley2002/ -- OSCOM - Open Source Content Management Conference September 25th - 27th 2002, Berkeley, California http://www.oscom.org/conferences/berkeley2002/