You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Gurram, Srinivas" <sr...@logicacmg.com> on 2006/06/16 12:38:03 UTC
document title
Hi All
I am using lenya 1.2. Every document in CMS has a document-id and title. My problem is getting the title of the document from the index_en.xml file.
The meta information like title, creator, subject, creation-date etc...stored in the form of doubling core elements.(dc:title) in index_en.xml file. Is it possible to get the title of the document from the index_en.xml file.
Thanks & Regards
srinivas
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: document title
Posted by Tim Hannigan <ti...@queensu.ca>.
By the document title, I'm assuming you mean the navigation title?
You can use the sitemap to pass in the parameter {page-
envelope:document-label} to access it.
Then in the XSLT, you just declare the parameter:
{xsl:param select="$var" />
(where you named the parameter in the sitemap, "var")
Does this help?
-Tim
On 16-Jun-06, at 6:38 AM, Gurram, Srinivas wrote:
> Hi All
>
>
>
> I am using lenya 1.2. Every document in CMS has a document-
> id and title. My problem is getting the title of the document from
> the index_en.xml file.
>
> The meta information like title, creator, subject, creation-date
> etc...stored in the form of doubling core elements.(dc:title) in
> index_en.xml file. Is it possible to get the title of the document
> from the index_en.xml file.
>
>
>
>
>
> Thanks & Regards
>
> srinivas
>
>
>
> This e-mail and any attachment is for authorised use by the
> intended recipient(s) only. It may contain proprietary material,
> confidential information and/or be subject to legal privilege. It
> should not be copied, disclosed to, retained or used by, any other
> party. If you are not an intended recipient then please promptly
> delete this e-mail and any attachment and all copies and inform the
> sender. Thank you.
>
>