In a recent project, I used the Macromedia implementation of XPath
instead of the Xfactor XPath.
I can't say which one is better (or faster)...
Although I did have to double check everything because of some small
(syntax) differences..

See the documentation:
http://download.macromedia.com/pub/documentation/en/flash/fl8/XpathAPI.pdf

I didn't miss any functionality not present in one of the
implementations, but that could be because I just do simple extraction
of the xml nodes.

greetings
Joeri

On 5/23/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
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];
> [email protected]
> 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
>

_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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