>> Dots are not allowed in attribute names. I'd use underscore or dash.
> Where in the XML spec does it state periods are not allowed?

Sorry, my mistake. Dots are indeed allowed in attributes.

> In any
> case, that is completely irrelevant to the problem at hand. The XML
> configuration files for the phones DO have periods in their attribute
> names and I have no control over that, they've been deployed in the
> field by a top manufacturer for a number of years already. I'm just
> working on an application that needs to be able to read and write
> their configuration files.

In any case i'm not aware of a way to "dot down" to them with E4X.

You can access the values for example like this:
var xml:XML = <root foo.bar="hello world" />
trace([EMAIL PROTECTED]"foo.bar"]);

Cheers,
Claus.

-- 
claus wahlers
cĂ´deazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/

Reply via email to