ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22044] - style-task and undefined parameters
Date Tue, 05 Aug 2003 08:51:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22044>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22044

style-task and undefined parameters





------- Additional Comments From ja@tim.se  2003-08-05 08:51 -------
"" and undefined is not the same thing.
If the parameter is set to "", then this value will be used rather than
the default specified by the stylesheet. You will still have
to write ant specific choose-statements in the stylesheet:

    <xsl:variable name="useThisInsteadOfNotdefined">
        <xsl:choose>
            <xsl:when test="$notdefined==''"><xsl:value-of 
select="$notdefined"/></xsl:when>
            <xsl:otherwise>notdefined default value</xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message