>>a hard ine break will also cause a cause attributes to break. Hard line breaks never cause my attributes to break.
Jason Merrill | E-Learning Solutions | icfconsulting.com >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Johannes Nel >>Sent: Monday, March 20, 2006 2:55 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Alphabetize XML >> >>a hard ine break will also cause a cause attributes to break. anyway, >>if it cannot be done on the server (aka in your select statement) then the >>best is to get it into an array and use the sortOn functionality. i am 100% >>that this can be doen with xfactorstusdio's path implementation as well, >>but i bet you that using that will be slower. >> >>On 3/20/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>> >>> >>that;s not always appropriate, for some languaes you have to use >>> >>CDATA.....so extra nodes aore needed >>> >>> I agree, it's not always appropriate, but I didn't see any CDATA nodes >>> in his example. >>> >>> Jason Merrill | E-Learning Solutions | icfconsulting.com >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>-----Original Message----- >>> >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>> >>[EMAIL PROTECTED] On Behalf Of Martin Weiser >>> >>Sent: Monday, March 20, 2006 2:44 PM >>> >>To: Flashcoders mailing list >>> >>Subject: Re: [Flashcoders] Alphabetize XML >>> >> >>> >>that;s not always appropriate, for some languaes you have to use >>> >>CDATA.....so extra nodes aore needed >>> >> >>> >>M >>> >> >>> >> >>> >>----- Original Message ----- >>> >>From: "Merrill, Jason" <[EMAIL PROTECTED]> >>> >>To: "Flashcoders mailing list" <[email protected]> >>> >>Sent: Monday, March 20, 2006 8:32 PM >>> >>Subject: RE: [Flashcoders] Alphabetize XML >>> >> >>> >> >>> >>> You could also save some file space and processing time by >>> structuring >>> >>> it like this instead: >>> >>> >>> >>> <xml> >>> >>> <item name="Alice" title="Foo"/> >>> >>> <item name="John" title="Bar"/> >>> >>> </xml> >>> >>> >>> >>> >>> >>> Jason Merrill | E-Learning Solutions | icfconsulting.com >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>>>-----Original Message----- >>> >>>>>From: [EMAIL PROTECTED] >>> [mailto:flashcoders- >>> >>>>>[EMAIL PROTECTED] On Behalf Of eric dolecki >>> >>>>>Sent: Monday, March 20, 2006 2:28 PM >>> >>>>>To: Flashcoders mailing list >>> >>>>>Subject: Re: [Flashcoders] Alphabetize XML >>> >>>>> >>> >>>>>Ahh - thats right. Forgot about sortOn - thanks :) >>> >>>>> >>> >>>>>On 3/20/06, Martin Weiser <[EMAIL PROTECTED]> wrote: >>> >>>>>> >>> >>>>>> >>> >>>>>> just parse it in mode: <item> to object: {name:Alice,title:foo} >>> and >>> >>> push >>> >>>>>> to >>> >>>>>> array >>> >>>>>> >>> >>>>>> the use array.sortOn(property), >>> >>>>>> much more is in livedocs, on flags like asc,desc, numerical etc >>> >>>>>> >>> >>>>>> M >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> ----- Original Message ----- >>> >>>>>> From: "eric dolecki" <[EMAIL PROTECTED]> >>> >>>>>> To: "Flashcoders mailing list" >>> <[email protected]> >>> >>>>>> Sent: Monday, March 20, 2006 7:27 PM >>> >>>>>> Subject: [Flashcoders] Alphabetize XML >>> >>>>>> >>> >>>>>> >>> >>>>>> > Quick question... >>> >>>>>> > >>> >>>>>> > I have XML coming in with nodes something like this: >>> >>>>>> > >>> >>>>>> > <xml> >>> >>>>>> > <item> >>> >>>>>> > <name>Alice</name> >>> >>>>>> > <title>Foo</title> >>> >>>>>> > </item> >>> >>>>>> > <item> >>> >>>>>> > <name>John</name> >>> >>>>>> > <title>Bar</title> >>> >>>>>> > </item> >>> >>>>>> > </xml> >>> >>>>>> > >>> >>>>>> > I'd like to be able to sort the item chunks alphabetically on >>> the >>> >>> name >>> >>>>>> > nodes. Whats the best approach to do this? >>> >>>>>> > _______________________________________________ >>> >>>>>> > [email protected] >>> >>>>>> > To change your subscription options or search the archive: >>> >>>>>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>>>>> > >>> >>>>>> > Brought to you by Fig Leaf Software >>> >>>>>> > Premier Authorized Adobe Consulting and Training >>> >>>>>> > http://www.figleaf.com >>> >>>>>> > http://training.figleaf.com >>> >>>>>> >>> >>>>>> _______________________________________________ >>> >>>>>> [email protected] >>> >>>>>> To change your subscription options or search the archive: >>> >>>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>>>>> >>> >>>>>> Brought to you by Fig Leaf Software >>> >>>>>> Premier Authorized Adobe Consulting and Training >>> >>>>>> http://www.figleaf.com >>> >>>>>> http://training.figleaf.com >>> >>>>>> >>> >>>>>_______________________________________________ >>> >>>>>[email protected] >>> >>>>>To change your subscription options or search the archive: >>> >>>>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>>>> >>> >>>>>Brought to you by Fig Leaf Software >>> >>>>>Premier Authorized Adobe Consulting and Training >>> >>>>>http://www.figleaf.com >>> >>>>>http://training.figleaf.com >>> >>> NOTICE: >>> >>> This message is for the designated recipient only and may contain >>> >>> privileged or confidential information. If you have received it in >>> error, >>> >>> please notify the sender immediately and delete the original. Any >>> other >>> >>> use of this e-mail by you is prohibited. >>> >>> _______________________________________________ >>> >>> [email protected] >>> >>> To change your subscription options or search the archive: >>> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >>> >>> Brought to you by Fig Leaf Software >>> >>> Premier Authorized Adobe Consulting and Training >>> >>> http://www.figleaf.com >>> >>> http://training.figleaf.com >>> >> >>> >>_______________________________________________ >>> >>[email protected] >>> >>To change your subscription options or search the archive: >>> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >> >>> >>Brought to you by Fig Leaf Software >>> >>Premier Authorized Adobe Consulting and Training >>> >>http://www.figleaf.com >>> >>http://training.figleaf.com >>> _______________________________________________ >>> [email protected] >>> To change your subscription options or search the archive: >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> Brought to you by Fig Leaf Software >>> Premier Authorized Adobe Consulting and Training >>> http://www.figleaf.com >>> http://training.figleaf.com >>> >> >> >> >>-- >>j:pn >>http://www.lennel.org >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

