Hi List,

please is possible to substitute node name in e4x with variable?

Anywhere in XML:
                                        <agency name="NJ Agency">
                                                <name>myAgency</name>
                                                <phone>123456</phone>
                                        </agency>

_officesXML..agency.(@name == "NJ Agency")

return:

<agency name="NJ Agency">
  <name>myAgency</name>
  <phone>123456</phone>
</agency>

But i don't know node name 'agency' in this time. I need some like:

_officesXML..here_is_my_variable_with_value_for_example"agency".(@name == "NJ Agency")

thanks,

pavel

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to