[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: string-length(whatever) equivalent required

Subject: RE: string-length(whatever) equivalent required
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Tue, 4 Apr 2000 08:40:29 -0700
javasript length
If it is a given that you must use IE5, a script would do the trick.  IE5
offers access within text nodes only through script.  Here's a specific
example:

  <xsl:if expr="this.nodeValue.length &gt; 9">Double digits!</xsl:if>

- Jonathan Marsh
  Microsoft

> -----Original Message-----
> From: Simon Cansick [mailto:SC@xxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, April 04, 2000 3:14 AM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: string-length(whatever) equivalent required
> 
> 
> Hello All.
> 
> I need to perform various tests on strings in my XSLT to 
> decide on further
> processing.  The string-length function is the one I need the 
> most, but is
> not supported in IE5 (which I must use) and the technology 
> previews are no
> use.  Is there a way in the IE5 parser to perform an 
> equivalent function and
> any other string functions come to that.
> 
> Or is my best bet to create some Javasript functions?
> 
> Thanks for any Help.
> 
> Simon Cansick
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.