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
Eric RehmSubject: Case-insenstive test in xsl:when?
Author: Eric Rehm
Date: 25 Oct 1999 07:00 PM
Can I do a case-insenstive test in xsl:when?

I tried:
xsl:when test="@NAME ieq 'keywords'"

but Stylus complained. What do you suggest I do here?

I don't really know in which "expressions" XPath query functions are valid. Which XSL "expressions" do allow XPath query function(s) and eXcelon extensions like "ieq"?

* xsl:if?
* xsl:when?
* xsl:template match=?
* xsl:value-of select=?
* others?

Documentation suggestion: I'm new to XSL, as are probably most people using Stylus. Provide more examples of using XPath functions in Chapter 11 "Writing XSL Style Sheets".

/eric rehm

Posttop
Carl SjogreenSubject: Case-insenstive test in xsl:when?
Author: Carl Sjogreen
Date: 26 Oct 1999 10:39 AM
> I don't really know in which "expressions" XPath query functions are valid. Which XSL "expressions" do allow XPath
> query function(s) and eXcelon extensions like "ieq"?
> * ?
> * ?
> * ?
> * ?
> * others?

You can use all of the XPath syntax in any of these XSL instructions (and in many others -- any time you can select a node you can use all of XPath), but Stylus does not yet support the eXcelon XPath extensions anywhere. "Harmonization" of the two processors is on the list for 2.1.

> Documentation suggestion: I'm new to XSL, as are probably most people using Stylus. Provide more examples of using > XPath functions in Chapter 11 "Writing XSL Style Sheets".

That's a good idea, thanks.

-Carl

--
Carl Sjogreen
Product Manager, eXcelon Tools
Object Design, Inc.
p 781.674.5143
f 781.674.5243

 
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.