Hi Florent,

thanks for your reply but what I need is the publication name (not the id).

Best regards,
 Gerd


"florent andré" <florent.andre-...@4sengines.com> hat am 5. Juni 2012 um 14:41
geschrieben:

> Look at the {page-envelope:publication-id}
>
> This is what used in the default publication
> * xslt :
> http://svn.apache.org/repos/asf/lenya/branches/BRANCH_2_1_X/src/pubs/default/xslt/page2xhtml.xsl
> * sitemap :
> http://svn.apache.org/repos/asf/lenya/branches/BRANCH_2_1_X/src/pubs/default/sitemap.xmap
>
> HTH
>
> ++
>
>
> On 06/05/2012 11:40 AM, Gerd Schrick wrote:
> > Dear Lenya Devs,
> >
> >
> > I want to use the name of the publication (as set in
> > {pub-id}/config/publication.xml) in my page2xhtml.xsl.
> >
> > Is there a 'simple' way (like an input module?) to read this
> > config-value in the publication sitemap.xmap to pass it as parameter to
> > the xslt-transformation?
> >
> >
> > My intention is to use templating and the layout should reflect the
> > publication name without the need to edit/overwrite something in the
> > file system.
> >
> >
> >
> > Thanks a lot in advance,
> >
> > Gerd
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lenya.apache.org
> For additional commands, e-mail: dev-h...@lenya.apache.org
>

Reply via email to