This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: DocBook XSL V1.62.0 released
- From: Sam Steingold <sds at gnu dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: 31 Aug 2003 19:44:54 -0400
- Subject: [docbook-apps] Re: DocBook XSL V1.62.0 released
- Organization: disorganization
- References: <87d6elhbb6.fsf@nwalsh.com>
- Reply-to: sds at gnu dot org
> * In message <87d6elhbb6.fsf@nwalsh.com>
> * On the subject of "DocBook XSL V1.62.0 released"
> * Sent on Sun, 31 Aug 2003 15:33:17 -0400
> * Honorable Norman Walsh <ndw@nwalsh.com> writes:
>
> I published DocBook XSL V1.62.0 earlier today.
>
> http://sourceforge.net/project/showfiles.php?group_id=21935&release_id=181350
>
> This is very much a test release, there are a lot of changes in there.
> Please report your successes and failures. If nothing comes up in a
> week or so, I'll publish a 1.62.1 release.
I forgot to mention the biggest problem that persists from the previous
version, namely that I cannot pass all comments from XML to nroff.
I use
<!-- here we just convert comments into < ! - - ... - - >
for further processing with sed(1) (see Makefile) -->
<xsl:template match="comment()">
<xsl:text><!--</xsl:text> <!-- #\< ! - - -->
<xsl:variable name="content">
<xsl:call-template name="string.subst">
<xsl:with-param name="string"><xsl:value-of select="."/></xsl:with-param>
<xsl:with-param name="target" select="' '"/>
<xsl:with-param name="replacement" select="'--> <!--'"/>
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="normalize-space($content)"/>
<xsl:text>--></xsl:text> <!-- - - #\> -->
</xsl:template>
<!-- the following tries to preserve the comments
it does not work because para|simpara|remark in list mode
calls normalize-space() and removes the whitespace around comments
<http://article.gmane.org/gmane.text.docbook.apps/6461> -->
<!--
<xsl:template match="comment()">
<xsl:text> .\"</xsl:text> <!- - #\Newline . \ " - ->
<xsl:variable name="content">
<xsl:call-template name="string.subst">
<xsl:with-param name="string"><xsl:value-of select="."/></xsl:with-param>
<xsl:with-param name="target" select="' '"/>
<xsl:with-param name="replacement" select="' .\"'"/>
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="normalize-space($content)"/>
<xsl:if test="not(following-sibling::comment())">
<xsl:text> </xsl:text></xsl:if>
</xsl:template>
-->
some comments are kept and some are lost.
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Are you smart enough to use Lisp?
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.