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 [EMAIL PROTECTED] 2003-08-04 12:34 ------- Thatīs usual Ant behaviour: if you use a property that is not set, the name is displayed. You can solve this in the xsl stylesheet: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!-- get the xsl-parameter --> <xsl:param name="myparam">mymaram default value</xsl:param> <xsl:param name="another">another default value</xsl:param> <xsl:param name="notused">notused default value</xsl:param> <xsl:param name="notdefined">notdefined default value</xsl:param> <!-- use the xsl-parameter --> <xsl:template match="/"> <xsl:variable name="useThisInsteadOfNotdefined"> <xsl:choose> <xsl:when test="$notdefined!='${notdefined}'"><xsl:value-of select="$notdefined"/></xsl:when> <xsl:otherwise>notdefined default value</xsl:otherwise> </xsl:choose> </xsl:variable> myparam : '<xsl:value-of select="$myparam"/>' another : '<xsl:value-of select="$another"/>' notused : '<xsl:value-of select="$notused"/>' notdefined: '<xsl:value-of select="$notdefined"/>' use this : '<xsl:value-of select="$useThisInsteadOfNotdefined"/>' </xsl:template> </xsl:stylesheet> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]