[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: abbrev/acronym expansion(amplification)
how do I get <acronym title="Fully Qualified Domain Name">FQDN</acronym> into my XHTML output from DocBook/XML? it appears that this question was asked 3.5 years ago already <http://lists.oasis-open.org/archives/docbook-tc/200201/msg00017.html> but the issue is still here. So, acronym (and abbrev) in DocBook/XML does not have an attribute I could use here. <acronym>FQDN<remark>Fully Qualified Domain Name</remark></acronym> appears to be the only option (right?) now I need a stylesheet: <xsl:template match="acronym"> <acronym> <xsl:attribute name="title"> <xsl:value-of select="remark"/> </xsl:attribute> <xsl:apply-imports/> </acronym> </xsl:template> <xsl:template match="acronym/remark"/> it appears to work. is it OK? thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.dhimmi.com/> <http://www.jihadwatch.org/> <http://ffii.org/> <http://www.mideasttruth.com/> <http://www.openvotingconsortium.org/> There are two ways to write error-free programs; only the third one works.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]