This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]