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: html navigation <link> elements


> * Bob Stayton <obof@fntruvyy.arg> [2006-05-08 11:05:20 -0700]:
>
> <xsl:variable name="faq.target" select="key('id', 'faq-help')"/>
>
> <link rel="help">
>  <xsl:attribute name="href">
>     <xsl:call-template name="href.target">
>        <xsl:with-param name="object" select="$faq.target"/>
>     </xsl:call-template>
>  </xsl:attribute>
>  <xsl:attribute name="title">
>    <xsl:variable name="question.content">
>      <xsl:apply-templates select="$faq.target/question/node()"/>
>    </xsl:variable>
>    <xsl:value-of select="$question.content"/>
>  </xsl:attribute>
> </link>

thanks, this works (I had to use
<xsl:value-of select="normalize-space($question.content)"/> because of
linebreaks in <question>).

is this code called once or every time a file is written?
can this be a performance issue?

-- 
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
http://thereligionofpeace.com http://palestinefacts.org http://memri.org
http://ffii.org http://openvotingconsortium.org http://iris.org.il
I haven't lost my mind -- it's backed up on tape somewhere.



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