xml - How do I compare attribute to a lower case value? -


how create filter attribute value lowercase?

this works:

xmlitem = xml.*.(attribute("name")==propertyname); 

but throwing error:

xmlitem = xml.*.(attribute("name").tolowercase()==propertyname); 

it looks have use tostring() string object , can use tolowercase():

var xmllist:xmllist = xml.*.(attribute("name").tostring().tolowercase()==lowercasepropertyname); 

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -