OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: DOCBOOK: Including OS Version information on DocBook elements

If you keep your version numbers 'cleanish' so that
xslt can use them, then it will handle various constructs
to keep the output 'clean' to a version.
Example below.


<title>Here goes the title</title>


 <xsl:stylesheet version="1.0"
   <xsl:output method="text"/>
   <xsl:template match="document">

     <xsl:variable name="rev1"
     <xsl:variable name="rev2"

     <xsl:if test="$rev2 > $rev1">
       <xsl:value-of select="$rev1"/>
        <xsl:value-of select="$rev2"/>
       <xsl:text>Rev 2 greater than rev 1</xsl:text>



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

Powered by eList eXpress LLC