AW: [xsl] apply-templates - A doubt.

Subject: AW: [xsl] apply-templates - A doubt.
From: "Zink, Juergen" <Juergen.Zink@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Apr 2003 07:54:56 +0200
Hi Nirmala,

<snip>

Put the following code into a conditional statement
>	<i>suids:</i><br/>
>	<xsl:apply-templates select="suid"/><br/>
>	</body>

  <xsl:if test="suid">
    <i>suids:</i><br/>
    <xsl:apply-templates select="suid"/><br/>
    </body>
  </xsl:if>

<snip>
>It is possible that, my xml file sometime does not contain any suid. In
this
>case, i should not even print the suids: heading also. I cannot put this
>within the template match since
>it will be printed then for each suid. 

Then the heading should come when at least one suid is there.

Cheers,

Juergen Zink


*****************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren 
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this e-mail. 
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly forbidden.
*****************************************************************************


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


Current Thread