I personally like Arul's XMLShortcuts, I find the syntax a bit cleaner & simpler.
http://www.shockwave-india.com/blog/?search=xmlshortcuts&submit=search It keeps the XML object intact the entire time, and just uses fancy __resolve tricks to let you edit it as if it were an object. -David R On 2/21/06, nyls @ Home <[EMAIL PROTECTED]> wrote: > Hello Neil, > > I am curious about your experiences with the 'slowness' of ' xFactorStudio ' > could you elaborate on this. I am using the xpath api for parsing of an > small XML (10KB) and didn't test it with an large and deeply nested XML. > (but want to know because in the Future I will) > > Yes, I read about the mx xpath api to . but it doesn't support > ancestor::item .. and that's what I need > > nyls > > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens > NEILHIGHLEY.COM > Verzonden: dinsdag 21 februari 2006 16:32 > Aan: Open Source Flash Mailing List > Onderwerp: Re: [osflash] XML 2 Object, Object 2 XML > > really slow tho. > Flash mx 2004+ has a basic implementation of XPATH > > import mx.xpath.XPathAPI; > and, for example > node_array = mx.xpath.XPathAPI.selectNodeList(theXML.firstChild, > <nodePath>); > > > Neil Highley > neilhighley.com > > On 2/21/06, nyls @ Home <[EMAIL PROTECTED]> wrote: > > Yes I agree as stated before, keeping XML has it's advantages.. > > > > Have you taken a look at the ' xFactorStudio xpath API ' > > > > http://www.xfactorstudio.com/ > > > > > > It's a almost complete implementation of standard W3C XPath standard > > > > http://www.w3schools.com/xpath/default.asp > > > > and also MTSAC friendly. > > > > It even implements XPath Axes and Xpath functions .. > > > > Yeaah I know I am barffing but I really like all this stuff :> > > > > nyls > > > > > > > > > > > > -----Oorspronkelijk bericht----- > > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens > > Jos Yule > > Verzonden: dinsdag 21 februari 2006 15:12 > > Aan: Open Source Flash Mailing List > > Onderwerp: Re: [osflash] XML 2 Object, Object 2 XML > > > > Aaron Smith wrote: > > > I am looking for a solution for loading an xml file. then put it into an > > > object. then after editing a bunch of values in that object, put it back > > > to xml. > > > > I'm a big fan of Ted's (of powersdk) XML path resolver. You can find it > > here: > > > > http://www.powersdk.com/ted/2004/12/xml-resolver-105-f7-compatibility.php > > > > tinurl: http://tinyurl.com/oc7vm > > > > It allows you to stay in XML, but use array-like access to the data. > > > > example: > > > > #include "XML_Path_Resolver_v1_5.as" > > > > x = new XML("<a>blah<t/><t>Hello World</t><t age='1'/></a>") > > > > //GET REQUESTS > > trace(x.a) > > <a>blah<t /><t>Hello World</t><t age="1" /></a> > > > > trace(x.a.t[2]) > > <t age="1" /> > > > > trace(x.a.t[2].attributes.age) > > 1 > > > > trace(x.a._value) > > blah > > > > trace(x.a.t[1]._value) > > Hello World > > > > trace(x.a.t[2].attributes) > > [type Object] > > > > trace(x.a._node) > > <a>blah<t /><t>Hello World</t><t age="1" /></a> > > > > trace(x.a.t[1]._node) > > <t>Hello World</t> > > > > //SET REQUESTS > > x.a._value = "blah22" > > x.a.t[1]._value = "Hellllo World" > > x.a.t[2]._value = "222 World" > > x.a.t[0]._attr.dog = "fido" > > x.a.t[2]._attr.age = 34 > > x.a._node = "<superNode/>" > > x.a.t[0]._node = "<subtNode/>" > > > > > > trace(x); > > <a>blah22<t dog="fido"><subtNode /></t><t>Hellllo World</t><t > > age="34">222 World</t><superNode /></a> > > > > j > > > > > > -- > > Jos Yule > > Digital Hyakugei > > > > "Machines take me by surprise with great frequency." > > - Alan Turing > > > > _______________________________________________ > > osflash mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > > > > _______________________________________________ > > osflash mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > -- > =========== > neilhighley.com > =========== > 0784 324 7878 > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
