Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XSL If Statement

From: "RigasMinho" <minho.cho@-----.--->
To: NULL
Date: 2/13/2007 10:34:00 AM

Hello,
I have an XML file with the following Data:

<headerinfo title='Name'>John</headerinfo>
<headerinfo title='Name'>Raymond</headerinfo>
I then use the following to grab the information and display it:
<td>
<xsl:value-of select="infoObjectDetail[@title =Name']"/>
<xsl:text>&#160;</xsl:text>
</td>

Which displays John | Raymond

How do I make it so that if "John" is in the XML - it skips it over
and doesnt print that line?

I tried a bunch of different if statments but havent found a right way
to do this yet.



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent