Subject: Re: [xsl] Fundimentle Predicate Problem or Bug?? From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 17 Sep 2008 16:07:23 +0200 |
<ORCB082> <ROWSET> <ROW num="1"> <Fixture> <FixtureDate>2008-10-17</FixtureDate> <FixtureDayText>DAY ONE TEST</FixtureDayText> <Race> <RaceType>S</RaceType> </Race> <Race> <RaceType>H</RaceType> </Race> </Fixture> </ROW> </ROWSET> </ORCB082>
Stylesheet 1 ------------
This stylesheet outputs "DAY ONE TEST" message, IMO it should match no records and not output anything.
<?xml version="1.0"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:output method="text" indent="yes"/>
<xsl:template match="/">
<xsl:for-each select="/ORCB082/ROWSET/ROW/Fixture[FixtureDate >= '2008-01-01' and FixtureDate <= '2010-01-01' and Race/RaceType >= 'R' and Race/RaceType <= 'R']" >
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Fundimentle Predicate Pro, David Carlisle | Thread | RE: [xsl] Fundimentle Predicate Pro, Michael Kay |
Re: [xsl] Fundimentle Predicate Pro, David Carlisle | Date | Re: [xsl] Fundimentle Predicate Pro, Florent Georges |
Month |