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

Subject: RE: [xsl] apply-templates - A doubt.
From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Mon, 14 Apr 2003 14:23:10 +0100
Hi.

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Zink, Juergen
> Sent: Monday, April 14, 2003 6:55 AM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: AW: [xsl] apply-templates - A doubt.
> Importance: Low
> 
> 
> 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>
> 
Nope, that's wrong the <xsl:if> can't break the body node
What you probably ment was:

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




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


Current Thread