Can you change other nodes? It could be something to do with the source of
your XML... Perhaps you can .copy() it first?

-Josh

On Tue, Sep 9, 2008 at 9:38 AM, Rafael Faria
<[EMAIL PROTECTED]>wrote:

> That's the thing. I thought it would but it doesnt.
>
> No idea why i can't change the root node of the xml.
>
> Any other suggestion?!
>
> raf
>
>
> --- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Have you tried:
> >
> > [EMAIL PROTECTED] = "59";
> >
> > And it didn't work?
> >
> > -Josh
> >
> > On Mon, Sep 8, 2008 at 3:46 PM, Rafael Faria
> > <[EMAIL PROTECTED]>wrote:
> >
> > > Hello All,
> > >
> > > I need your help again.
> > >
> > > I make a call and get in return a XML. With this XML, i feed my tree's
> > > dataprovider. It is something like this:
> > >
> > > <root sids="58">
> > >  <module url="home" label="Home" sid="52"/>
> > >  <module url="grantees" label="Grantees" sid="53"/>
> > >  <module url="multimedia" label="Multimedia" sid="54"/>
> > >  <page label="Contact Us" id="2" redirect="contact" sid="55"/>
> > >  <page label="Privacy Policy" id="7" redirect="privacy" sid="56"/>
> > >  <page label="Apply for Grants" id="5" redirect="apply" sid="57"/>
> > > </root>
> > >
> > > The thing is, at some point i need to get the "sids" from the root
> > > node (so far no problem, i'm using
> > > XML(tree.dataProvider).attribute('sids').toXMLString() and it works)
> > > but the catch is that i need to change it to 59 and i can't manage to
> > > change it no matter what.
> > >
> > > Any one could throw some ideas so i can solve my problem ? please? :P
> > >
> > > thanks
> > > Raf
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > > Links
> > >
> > >
> > >
> > >
> >
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
> thee."
> >
> > http://flex.joshmcdonald.info/
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

http://flex.joshmcdonald.info/

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to