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

From
Bob Stayton <>
Date
2005-05-16T16:13:15+00:00
ID
020c01c55a32$25d09b20$6400a8c0@toshiro
Thread
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



----- Original Message ----- 
From: "Oliver B. Fischer" <>
To: <>
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: 
> For additional commands, e-mail: 
>
>
>