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

Re: Is substring -before cyclic in nature?

Subject: Re: Is substring -before cyclic in nature?
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 18 Apr 2003 15:18:23 +0200
.net is substring
I cannot reproduce your finding. The result for the first substring-before()
is the empty string.

Tested with: MSXML3/4, .Net xslTransform, Saxon 6.5, Saxon 7.4, XalanC 1.3,
XalanJ 2.4.1, xsltProc (libxml 20504 and libxslt 10027)


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


"Leena Kulkarni" <mulberrylist@xxxxxxxxxxx> wrote in message
news:20030418120100.74013.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I am using substring-before on
>
> <tag>Value is 10</tag>
> <tag>This Value is 10</tag>
> <tag>Check for Value</tag>
>
> like this -
> substring-before(.,'Value')
>
> In the first case
> <tag>Value is 10</tag>
>
> I am getting the result as - Value is 10
> I am expecting to get nothing here.
> Does substring-before behave cyclic if the
> value is found at the start of the string?
>
> Thanks in advance.
>
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
>        visit http://in.tv.yahoo.com
>
>  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.