Re: [xmlrpcflash-development] objXMLRPC.GetResults()
Brought to you by:
dopelogik
From: Ed C. <ed...@gr...> - 2003-03-19 22:59:09
|
Hey All! Well, I sent off the latest xml-rpc lib to a friend who is an actionscript guru, and he took a look at what is there and gave up deciding that it needed to be rewritten. His question was: "why did they bother to write an xml-rpc parsing library that does not appear to parse xml-rpc results" It seems to me though that this is just the last step in the process. It has successfully packaged up variables, presented them to the server and extracted the results... This last phase can't be that hard, right? Or am i missing some deeper underlying problems? It's dishartening though, if the gurus can't get it working, there's little chance that I can get it to work. :: sob sob :: -e- On Mon, 17 Mar 2003, Isaac Levy wrote: > Hello Geir, > > This is a common issue with the xmlrpcflash lib. In a nutshell, the > GetResults method is extremely dysfunctional (low DOM-style object > returns, with undefined object nodes that you just can't grab), and we > have been slowly stewing over how to go about rewriting these return > methods. > > For the moment, the best thing I can recommend is to use some other > method of parsing the xmprpc xml response in your actionscript. A few > of us have been experimenting with an actionscript implementation of > the w3c Xpath spec, and have recently been considering it to be used to > construct the base for the GetResults rewrite. > > http://xfactorstudio.com/projects/XPath/ > > The cool thing about xpath, is that it's been implemented as a standard > vocabulary for SAX style node processing in many languages, including > recent versions of Python- so we'beleive it's worth consideration. > > Sidenote to the entire list- whaddya think of this? How are those > who've tried XPath doing with it? How mature/stable does it feel? > > > -- > And on a sideonte, I'm terrifically interested in Zope/Flash > cooperation as well, and would love to know what your thinking of doing > with the two... > > > My best to you, > .ike > > > > Isaac Levy > + Office of Structured Systems > http://structuredsystems.net > > > > > > > > > On Sunday, March 16, 2003, at 09:54 AM, Geir B=E6kholt wrote: > > > Hello xmlrpcflash-development, > > > > Hi all. > > > > Just getting to grips with flash, (i am an experienced user of > > XML-RPC, XML and JavaScript) i am having a lot of trouble with the > > GetResults() method.. Hopefully someone can help me. > > > > Call() obviously succeeds, but when i call GetResults() i am stuck > > dumbfounded woth something that says it is (Type) an Array, but if i > > do objXMLRPC.GetResults()[0] i always end up with undefined. > > > > if i print it as a string it looks like this: [object Object] > > > > seems to me like an array containing a single object, but that is > > as far as i get. Can anyone tell me how to access the result from a > > call ? - just a single value, a string for instance... > > > > thanks. I am really looking forward to integrating Zope and Flash > > seamlessly :) > > > > > > -- > > Geir B=E6kholt > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by:Crypto Challenge is now open! > > Get cracking and register here for some mind boggling fun and > > the chance of winning an Apple iPod: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > // > > // xmlrpcflash-development mailing list > > // xml...@li... > > // http://lists.sourceforge.net/lists/listinfo/xmlrpcflash-development > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > // > // xmlrpcflash-development mailing list > // xml...@li... > // http://lists.sourceforge.net/lists/listinfo/xmlrpcflash-development > --=20 Green Graphics ::: Print and Web Design ::: 510.923.0000 |