Don't have a choice, the XML is generated from an excel spreadsheet.... and I'm 
not allowed to change is format...

Grant

----- Original Message -----
From: Robert Wąs [EMAIL PROTECTED]
To: Open Source Flash Mailing List [email protected]
Sent: 12/5/05 5:49 PM
Subject: Re: [osflash] xfactor studio xpath ignore case function ?

> [EMAIL PROTECTED] 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
> >[email protected]
> >http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> >  
> >
> 
> 
> 
> 
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to