Update of /cvsroot/xdoclet/xdoclet/xdocs/stylesheets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31904
Modified Files:
xtags2xdoc.xslt
Log Message:
Improve xtags-based generated documentation (XDT-869).
Index: xtags2xdoc.xslt
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/xdocs/stylesheets/xtags2xdoc.xslt,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** xtags2xdoc.xslt 12 Nov 2003 01:02:52 -0000 1.12
--- xtags2xdoc.xslt 13 Apr 2004 23:42:47 -0000 1.13
***************
*** 20,23 ****
--- 20,26 ----
<xsl:value-of select="usage-description"/>
</p>
+ <xsl:if test="count(condition-description) > 0">
+ <p>Applies to: <xsl:value-of select="condition-description"/></p>
+ </xsl:if>
<div>
<xsl:attribute
name="id"><xsl:text>source</xsl:text></xsl:attribute>
***************
*** 96,99 ****
--- 99,105 ----
</xsl:if>
<p><xsl:value-of select="usage-description"/></p>
+ <xsl:if test="count(condition-description) > 0">
+ <p>Applies to: <xsl:value-of select="condition-description"/></p>
+ </xsl:if>
<xsl:if test="count(parameter) > 0">
***************
*** 112,115 ****
--- 118,125 ----
<td><xsl:value-of
select="condition-description"/></td>
<td><xsl:value-of
select="usage-description"/>
+ <xsl:if test="count(default) > 0">
+ <br/>Default value(s):
+ <br/><xsl:value-of select="default"/>
+ </xsl:if>
<!-- give the allowed values to the
enduser -->
<xsl:if test="count(option-sets)
>0" >
***************
*** 147,150 ****
--- 157,163 ----
</xsl:if>
<p><xsl:value-of select="usage-description"/></p>
+ <xsl:if test="count(condition-description) > 0">
+ <p>Applies to: <xsl:value-of select="condition-description"/></p>
+ </xsl:if>
<xsl:if test="count(parameter) > 0">
***************
*** 163,166 ****
--- 176,184 ----
<td><xsl:value-of
select="condition-description"/></td>
<td><xsl:value-of
select="usage-description"/>
+ <xsl:if test="count(default) > 0">
+ <br/>Default value(s):
+ <br/><xsl:value-of select="default"/>
+ </xsl:if>
+ <!-- give the allowed values to the
enduser -->
<xsl:if test="count(option-sets)
>0" >
<xsl:call-template
name="process-param-options">
***************
*** 197,200 ****
--- 215,221 ----
</xsl:if>
<p><xsl:value-of select="usage-description"/></p>
+ <xsl:if test="count(condition-description) > 0">
+ <p>Applies to: <xsl:value-of select="condition-description"/></p>
+ </xsl:if>
<xsl:if test="count(parameter) > 0">
***************
*** 213,216 ****
--- 234,242 ----
<td><xsl:value-of
select="condition-description"/></td>
<td><xsl:value-of
select="usage-description"/>
+ <xsl:if test="count(default) > 0">
+ <br/>Default value(s):
+ <br/><xsl:value-of select="default"/>
+ </xsl:if>
+ <!-- give the allowed values to the
enduser -->
<xsl:if test="count(option-sets)
>0" >
<xsl:call-template
name="process-param-options">
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel