[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: keywords
Using website.dtd I have <webpage navto="yes" id="N6280"> <config param="desc" value="Sorting and Grouping"/> <config param="dir" value="xsl"/> <config param="filename" value="N6280.html"/> <head> <title>Sorting and Grouping</title> <summary>Sorting and Grouping</summary> <keywords>Sorting, Grouping</keywords> </head> From keywords.xsl I see <xsl:template match="keyword" mode="html.header"> <meta name="keyword" content="{.}"/> </xsl:template> I therefore expected to see <meta name="keyword" content="Sorting, Grouping" /> instead I got <link name="keywords" content="Sorting, Grouping"> The flow, as far as I can tell, goes something like website.xsl <xsl:apply-templates select="head" mode="head.mode"/> Then (same file) <xsl:template match="head" mode="head.mode"> <xsl:variable name="nodes" select="*"/> <xsl:variable name="global" select="/website/homepage/head/*[@class='global']"/> <head> <xsl:apply-templates select="$nodes"/> One of the children of <head> is <keywords> hence it should call keywords.xsl, which it appears to... but :-) In file keywords.xsl (part of normal docbook), I find <xsl:template match="keyword" mode="html.header"> <meta name="keyword" content="{.}"/> </xsl:template> I.e. the right match, but in html.header mode. *if* I'm right (I rarely am when asking Norm :-) then in website.xsl the call should be in the same mode? Regards DaveP
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC