XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Anonymous Subject: Cannot get comparison operators to work in tests
Author: Anonymous
Date: 20 May 2000 11:42 PM
I am having a problem getting any greater-than or less-than operators to work in test statements in Stylus 2.0.

I have tried the following combinations:


(Note: This is the syntax suggested by the XPath specification)



The first two give me errors, the last one just doesn't work. I have trapped the output of the count statement, and ensured that the result is 2 or greater.

Any help would be greatly appreciated.

Posttop
(Deleted User) Subject: Cannot get comparison operators to work in tests
Author: (Deleted User)
Date: 23 May 2000 02:37 PM
Count seems to be working. Can you give me an example where count(.) returns other than 1? You should be able to use "count(foo/bar[baz]) >1".

Alex Lloyd
eXcelon corp.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.