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: [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:if test="$conditional = 0 or $node/@id or $node/@xml:id">
            <a name="{$id}">.</a>

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 Sauvage - EBM WebSourcing a écrit :
Hi all !

I have a problem with my html output. The automatic <a name...> are generated like that :
<a name="xxx" />

but with this, Firefox doesn't consider it closed and all my text is highlighted like an anchor. I would like to have the anchors like that :
<a name="xxx"></a>

is there a parameter to set to force the closing tag to be added and not to have the closing / in the tag ?
or could you help me in where (and/or how) to find the template to correct ?

thank you in advance,

Scanned with Copfilter Version 0.83beta3a (P3Scan 2.2.1)
AntiSpam: SpamAssassin 3.1.4
by Markus Madlener @ http://www.copfilter.org

--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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