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: docbook-xsl catalog.xml not updated for version 1.69.1


I just grabbed a fresh copy of docbook-xsl 1.69.1 from Sourceforge, and
it turned out that the catalog.xml entry therein still referred to
1.69.0.  There should be a relatively trivial way to automatically
generate this catalog when the rest of everything is built for release,
right?  I would think it'd be something like this, run with the VERSION
file as its input:

### makecatalog.xsl ###
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/";
                version="1.0">
  <xsl:output indent="yes"/>

  <xsl:template match="/">
    <xsl:variable name="version-specific-URI">
      <xsl:text>http://docbook.sourceforge.net/release/xsl/</xsl:text>
      <xsl:value-of select="//fm:Version[1]"/>
      <xsl:text>/</xsl:text>
    </xsl:variable>

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

<xsl:comment>  XML Catalog file for DocBook XSL Stylesheets distribution </xsl:comment>

  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/"; rewritePrefix="./"/>
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current/"; rewritePrefix="./"/>

  <rewriteURI uriStartString="{$version-specific-URI}" rewritePrefix="./"/>
  <rewriteSystem systemIdStartString="{$version-specific-URI}" rewritePrefix="./"/>

</catalog>
  </xsl:template>
</xsl:stylesheet>
### end makecatalog.xsl ###

Take care,

    John L. Clark

PGP signature



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