This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] website: Accessing the value of config elements
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <obf at gmx dot de>, <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 16 May 2005 09:13:07 -0700
- Subject: Re: [docbook-apps] website: Accessing the value of config elements
- References: <4288BD75.2000501@gmx.de>
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