Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - XPath Select on Strings >Thread Next - Re: XPath Select on Strings Re: XPath Select on StringsTo: NULL Date: 9/4/2004 11:28:00 AM David Davidson wrote: > I've run into a rather frustrating idiosyncrasy and would greatly appreciate > any insight. I'm using XPath expressions in an XSLT for-each tag to filter > data and show subsets of an XML data island to the user. I'm using IE 6.0 > SP1 and creating the XML data island with an in-line XML tag. > > The following XPath expression works great: NewDataSet/Table[Group = 'Group > A'] > > This XPath expression returns nothing: NewDataSet/Table[Group >= 'Group A'] > > My XML data island also contains an integer field, and XPath relational > expressions work great there. I just seem to have a problem with the string > fields. Anybody have any ideas? Thanks in advance... > ... XPath doesn't do greater/less comparisons with strings. To do that properly, it would need a concept of collation sequences (something that IMHO has been moved into XPath2). Julian | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
