[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: apply-templates - A doubt.
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|