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



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