xsl-list
[Top] [All Lists]

RE: apply-templates - A doubt.

2003-04-14 06:23:10
Hi.

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Zink, Juergen
Sent: Monday, April 14, 2003 6:55 AM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
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



<Prev in Thread] Current Thread [Next in Thread>