Hello again,

does anyone about problems using keywords within a mx:Model ?

For example, if I've got a XML-file like this:


<menubar>
        <file>
                <new>true</new>
        </file>
</menubar>


And try to load it into an mx:Model like:

<mx:Model id="testXML" 
                source="test.xml" ></mx:Model> 



I get a Compilation Error like:


Error main.mxml:7 
Expected a field name after '.' operator.


Which is not very helpful. But after I changed <new> to <newitem> it works
again. 
My assumption is, that because "new" is a keyword it can't be used as an
attribute name... Am I right? Is there a way to use an <new> element anyway?
With namespaces for example? Any suggestions???

Cheers
Christoph



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to