[Soot-list] soot_options.xsl fixes

Ondrej Lhotak olhotak at sable.mcgill.ca
Mon Nov 22 11:33:23 EST 2004


Thanks for the fix. I've committed it as revision 1909.

When we were writing the XSLT scripts to generate option documentation,
we found that applying latex2html to the LaTeX documentation produced
acceptable results, so we never got around to finishing the XSLT script
that produces HTML directly. Of course, improvements to it are welcome.

Ondrej

On Mon, Nov 22, 2004 at 08:18:19AM -0600, Archie Cobbs wrote:
> Hi,
> 
> The HTML output of soot_options.xsl seemed a bit lacking to me.
> The bullets were not lined up with the items and there were no
> descriptions of the different phases and options. The patch below
> fixes these things.
> 
> Thanks,
> -Archie
> 
> __________________________________________________________________________
> Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com
> 
> --- soot_options.xsl.old	Thu Jul 15 17:14:18 2004
> +++ soot_options.xsl	Sat Nov 20 10:17:31 2004
> @@ -53,7 +53,7 @@
>  <h1>Phases and phase options</h1>
>  <ul>
>  <xsl:for-each select="options/section/phaseopt/phase|options/section/phaseopt/radio_phase">
> -<li/><xsl:value-of select="alias|alias"/>
> +<li><b><xsl:value-of select="alias|alias"/></b>: <xsl:value-of select="long_desc"/></li>
>  <ul>
>  <ul>
>  <xsl:apply-templates mode="opt" select="boolopt|multiopt|intopt|flopt|stropt|section/boolopt|section/multiopt|section/intopt|section/flopt|section/stropt"/>
> @@ -61,7 +61,8 @@
>  </ul>
>  <ul>
>  <xsl:for-each select="sub_phase">
> -<li/><xsl:value-of select="alias|alias"/>
> +<li><b><xsl:value-of select="alias|alias"/></b>: <xsl:value-of select="long_desc
> +"/></li>
>  <ul>
>  <xsl:apply-templates mode="opt" select="boolopt|multiopt|intopt|flopt|stropt|section/boolopt|section/multiopt|section/intopt|section/flopt|section/stropt"/>
>  </ul>
> @@ -73,7 +74,7 @@
>  </xsl:template>
>  
>  <xsl:template mode="opt" match="boolopt|multiopt|intopt|flopt|stropt|section/boolopt|section/multiopt|section/intopt|section/flopt|section/stropt">
> -<li/>
> +<li>
>  <tt><xsl:value-of select="alias"/>
>  <xsl:choose>
>  <xsl:when test="default">
> @@ -87,6 +88,7 @@
>  </xsl:otherwise>
>  </xsl:choose>
>  </tt>
> +</li>
>  </xsl:template>
>  
>  <xsl:template match="use_arg_label">
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://www.sable.mcgill.ca/mailman/listinfo/soot-list
> 


More information about the Soot-list mailing list