OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] website: Accessing the value of config elements


Actually, the name of the placeholder template is 'allpages.banner'.  Is
that a typo in your message?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Oliver B. Fischer" <obf@gmx.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, May 16, 2005 8:34 AM
Subject: [docbook-apps] website: Accessing the value of config elements


> Hello,
>
> I am trying to access the value of a config element within the template
> allpagesbanner but without success.
>
> My webpage dokument looks at the top like this:
>
> <webpage id="de.dialog.beirat" lang="de">
>    <config param="contentgroup" value="deutschland"/>
>
> My templates looks like this:
>
> <div id="allpagesbanner">
>   <xsl:variable name="contentgroup"
>      select="/webpage/config[@param='contentgroup']" />
> ...
>
> How can I access the config element I need in XSL?
>
> Regards,
>
> Oliver
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]