xsl-list
[Top] [All Lists]

[xsl] XSL If Statement

2008-08-21 11:27:32


Hi,
I have a XSL file which is used to format 100s of xml files. The XSL converts 
xml to html.
I need to display table in HTML output only if certain data is present in XML.
 
In the below code, I need to display the HTML table only if the XML has matrix 
tag with 1 in it. 
matrix tag will be present only in few xmls which use the xsl.I tried the below 
code but none of the options worked.   
 
XSL:
 

 
 

.
.
.
.
XML

     
          1
          .
          .
          .





Sumit

_________________________________________________________________
Searching for the best deals on travel? Visit MSN Travel.
http://msn.coxandkings.co.in/cnk/cnk.do
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--