You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2005/04/15 09:19:07 UTC

[Lenya Wiki] Trivial Update of "Sitemap2JavaApiContractProposal" by AndreasHartmann

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.

The following page has been changed by AndreasHartmann:
http://wiki.apache.org/lenya/Sitemap2JavaApiContractProposal

------------------------------------------------------------------------------
  Approaches:
  
   * Plug-ins + configuration.
-  * Plug-ins + customization (fallback and <xsl:import/>). Problem: XSLT doesn't provide encapsulation like OOPLs (public and private templates). This makes it harder to declare contracts. A possible approach is:
+  * Plug-ins + customization (fallback and {{{<xsl:import/>}}}). Problem: XSLT doesn't provide encapsulation like OOPLs (public and private templates). This makes it harder to declare contracts. A possible approach is:
-   1. Extract the overridable templates into a separate stylesheet and include it via the <xsl:import href="fallback://..."/>
+   1. Extract the overridable templates into a separate stylesheet and include it via the {{{<xsl:import href="fallback://..."/>}}}
    1. Don't use fallback for the main stylesheet to ensure that it can't be overridden.
   * Do your own (plain Cocoon + Lenya components like PageEnvelopeModule).
  

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