[Home] [By Thread] [By Date] [Recent Entries]
At 2009-05-27 14:28 -0500, Keith Gilbert wrote:
I'm having trouble getting my head around this: The content of an element is evaluated as a string from the concatenation of the descendent text nodes, and you incorrectly have: <xsl:if test="category_name = apples"> ... which tests the content of the child named "category_name" with the content of the child named "apples". You want to compare the content to a string: <xsl:if test="category_name = 'apples'"> I hope this helps. . . . . . . . Ken -- XSLT/XSL-FO/XQuery hands-on training - Los Angeles, USA 2009-06-08 Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



