This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: pls help me on XML-XSLt Tag Display


> However, if no value exists for DescInfo from the
> source, then the <ListofDescription> tag should not
> appear at all:
> 
<xsl:template match="ListOfDescription">
  <xsl:if test="DescInfo">
    ...
  </xsl:if>
</xsl:template>

i.e. do nothing if there is no DescInfo child.

Mike Kay
Software AG 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]