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

Re: select an element

Subject: Re: select an element
From: Honglei Chen <hlchen@xxxxxxxxx>
Date: Tue, 17 May 2005 12:23:00 -0500
honglei chen
Thanks, David. I tried what you said put the $word="\xE1"; and give
initial value for parameter in <xsl:param name="Kentry"
select="'\xE1'"/>. And made the line like this:   <xsl:for-each
select="/reportname/Entry[substring(ENTRY_FORM,1,$wordLength) =
substring($Kentry,1,$wordLength)]">. But it still doesn't work. It
really puzzled me. More help?

Thanks again!

Helen

On 5/17/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> Your input contains the Unicode character with value E1 (a acute)
> so you need to set the paramter to that value. There is no point setting
> it to the string &#x00E1; and if you force that string to be of length 1
> using substring then it will just be &
>
> I don't know php but can't you just type the a acute directly, or does
> it have its own escape syntax in strings such as \00e1
>
> In fact 30 seconds in google suggests that you can't do arbitrary
> unicode
> but you could do \xe1 in this case.
>
> http://uk.php.net/types.string
>
> David
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

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.