[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|