Bjarne Jensen a écrit :
> 
> I have read the article “Style-free XSLT Style Sheets”
> (http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html) by Eric van der
> Vlist and this is IMHO a really great article that told me how to splits the
> XHTML and XSLT in to different layout-files. Does anyone think it would work
> in real life, if the XHTML was maintained by a WYSIWYG editor like
> dreamweaver with support for XHTML - anybody know such an editor? (if not
> you can use Dreamweaver and Tidy). The XSLT-part of the layout would be
> maintained by a programmer or a trained graphical designer. Anyone tried
> this in real life – I would really like to hear some opinions? My own
> opinion is that I think this would work because the HTML would be made as
> useual and the process of applying the new HTML to the
> Cocoon-web-application could be done automatically without involving the
> programmer - does anyone disagree or agree?
> 
> Thanks for any comments
> /Bjarne
> 
We use a similar approach here : a regular HTML page built with a
WYSIWYG editor is augmented with specialized markup that identifies
variable parts of the page. This page is then "compiled" in an XSL that
merges presentation and data to produce dynamic pages.

To avoid HTML source code edition for adding our specialized markup, we
have extended DreamWeaver (it's easily customizable in JavaScript) so
that the web designer can do it all in WYSIWYG mode.

About Tidy, we had some problems with it because it doesn't like
non-HTML markup. So we derived the AElfred parser that's in SAXON
(originally written by David Megginson, author of SAX) so that it
accepts HTML (auto-closing tags, value-less attributes, etc) and our
markup.

And thus we obtain a true separation between presentation and logic, and
a kind of WYSIWYG XSL editor with DreamWeaver !
-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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

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

Reply via email to