Re: xsl:if confusion

Subject: Re: xsl:if confusion
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 21 Sep 1999 14:49:23 +0100 (BST)
which xsl were you using?
Your template looked about right to me, and given

<x>
   <USER>
      <TYPE>1</TYPE>
      <PASSWORD>pwd</PASSWORD>
   </USER>


   <USER>
      <TYPE>2</TYPE>
      <PASSWORD>pwd</PASSWORD>
   </USER>
</x>

produced

      1
      <td>
<font face="arial" size="2">Password: </font>
<font face="arial" size="2" color="#000080">########</font>
</td>
   
      2
      <td>
<font face="arial" size="2">Password: </font>
<font face="arial" size="2" color="#000080">pwd</font>
</td>

which I think is what you wanted (you'd also want a template
for TYPE that just dis nothing)

David


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


Current Thread