[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: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Mon, 21 Apr 2003 14:55:53 -0400
what is substring
[ Leena Kulkarni]

> 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?
> 
It does not behave as you say, which I have found by test and  Dimitre
as well.  That makes me think that you are seeing the results of the
built-in default template rather than of your own template.  In turn,
that would mean that you are not actually invoking your own template at
all.  If you have not already figured out how to get what you want, you
should include your stylesheet (or its relevant parts if it is long) and
the xml file your were using to test it.

Cheers,

Tom P

 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.