This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: string-length(whatever) equivalent required


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@access-accounts.com]
> Sent: Tuesday, April 04, 2000 3:14 AM
> To: 'xsl-list@mulberrytech.com'
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]