[osflash] xfactor studio xpath ignore case function ?

Robert Wąs was.robert at gazeta.pl
Mon Dec 5 17:41:21 EST 2005


grant at bluetube.com wrote:

>I'm using the following xpath query to find all products who's name contains the word "spoon"
>
>XPath.selectNodes(myXML,"//products/product[contains(name,'Spoon')")
>  
>
Do you really want use products names as tags, tag case is a matter of 
parser (from my experience). If you store name in attribute value you 
propably omit your problem.

>is there a way to also ignore the case, or convert the document to upper case before searching ?
>
>I see that xpath is supposed to have a string function upper-case but I can't figure out how to incorporate it into my contains call.
>
>Grant
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>osflash mailing list
>osflash at osflash.org
>http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>  
>






More information about the osflash mailing list