[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] closing <a name> tag
I've found the template and
succeeded partially : <xsl:template name="anchor"> <xsl:param name="node" select="."/> <xsl:param name="conditional" select="1"/> <xsl:variable name="id"> <xsl:call-template name="object.id"> <xsl:with-param name="object" select="$node"/> </xsl:call-template> </xsl:variable> <xsl:if test="$conditional = 0 or $node/@id or $node/@xml:id"> <a name="{$id}">.</a> </xsl:if> </xsl:template> but when I put no content (or a space) between opening and closing tag (instead of the point here), it's written in my html generated file like before with simply <a name="xxx" />. Do you know what does it ? I'm using Ant and Xalan, is it it ? Do you know a way to force this ? I'll maybe have a look in an ant regex replacement... Marie. Marie Sauvage - EBM WebSourcing a écrit : Hi all ! |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]