You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/09/01 11:38:12 UTC

Default pub: page2xhtml-*.xsl and custom resource types

Hi Lenya devs,

in the default publication, a page2xhtml-*.xsl stylesheet is required
for each resource type. This leads to problems with custom resource types
which are provided by modules (publets). It is not possible to use such a
module without adding a custom XSLT.

All XSLTs besides page2xhtml-xhtml.xsl just include this one. I know
the purpose of this architecture, but I'm not sure if it is worth this
complexity.

A workaround would be to add a resource-exists selector with fallback
to page2xhtml-xhtml.xsl.

WDYT?

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Default pub: page2xhtml-*.xsl and custom resource types

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

>
> A workaround would be to add a resource-exists selector with fallback
> to page2xhtml-xhtml.xsl.
>
> WDYT?


a fallback sounds reasonable

Michi

>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org