var  mySearchTerm:String = "HeLlO";
var strXPATH:String = "//Localidades/Localidad[contains(upper-case[label],'"
+  mySearchTerm.toUpperCase () + "')]";

This maybe?

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> julian atienza
> Verzonden: dinsdag 23 mei 2006 10:06
> Aan: [EMAIL PROTECTED]; 
> flashcoders@chattyfig.figleaf.com
> Onderwerp: [Flashcoders] help: XfactorStudio XPATH
> 
> I'm using basic XPATH4AS2 of XFactor Studio.
> 
> I have an XPATH Query like:
> 
> var strXPATH:String = "//Localidades/Localidad 
> [contains(label, 'xxxxxxxx')]";
> 
> And it's Ok. Search for 'xxxxxxxx' into the field 'label' and 
> founds several results.
> 
> I have seen into class code that there is an upper-case 
> function that i can use to make more useful searchs...
> 
> i tried:
> var strXPATH:String =
> "//Localidades/Localidad[contains(upper-case[label],
> mySearchTerm.toUpperCase ())]";
> 
> NO RESULTS...
> 
> somebody knows how to use the upper-case function in the example?
> 
> I'm implementing in Flash 8 Pro and AS2.0.
> 
> Thanks in advance
> 

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to