View Single Post
  #1 (permalink)  
Old 05-31-2007, 05:01 AM
Alan Alan is offline
Member
 
Join Date: May 2007
Posts: 39
Alan is on a distinguished road
vars and if sentences in XSL-FO
I am trying to do an if sentence in a xsl-fo document:

My xml is:

Code:
<Details> <Details> <Name>Fred</Name> </Details> <Details> <Name>Victor</Name> </Details> <Details> <Name>Heather</Name> </Details> <Details> <Name>Tony</Name> </Details> </Details>
I want to write a table from <details> but I don't want to include <Details> en where the name is Tony.

If I do something like that:


Code:
<xsl:if test=”<xsl:value-of select="Details/Details/Name"/> != Tony”> </xsl:if>
It doesn't work
can you help me?

Last edited by Alan : 05-31-2007 at 02:35 PM.
Reply With Quote
Sponsored Links