Hi stratboy.

Sorry, don't know what is Slick.

I used the Core -> Request Class to read the XML file, then traverse
the DOM from the "Document Object" from the xml response of the
Request while converting it to an Object.

And that's it.

Hmmm...Request.XML, I don't think so, since Request is already an
XMLHttpRequest wrapper.

Best regards,
Ciul

On 17 ene, 04:02, stratboy <[email protected]> wrote:
> Hey thank you! This is a quite good news! I would hope something
> similar in the official mootools library.. Something like Request.XML.
> After all, there are already Request.HTML and Request.JSON.
>
> I was wandering though, since you used mootools 1.3 for xmlreader, why
> didn't you use Slick for the queries? I did some xml parsing for a
> project, recently, and I used it for the main queries.
>
> bye!
>
> On 16 Gen, 15:26, Ciul <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi MooTools pals.
>
> > This time I bring you a script I wrote by need, this will convert XML
> > to an Object.
>
> > The difference between mine and others out there on the web, is that
> > most of those are based on reading the XML file as a plain text,
> > hence, it depends the way you write it, even, in some cases those
> > could crash if you leave a blank space (to organize your XML).
>
> > Mine, is based on the XMLHttpRequest protocol, also based on W3
> > guidelines (you can read from here link). I traverse the XML DOM (you
> > may compare it to traverse a HTML DOM) while doing the convertion and
> > implementing a recursive function to traverse it (hoping this will
> > improve a lot the perfomance of the script).
>
> > Also keeping it small and simple to use :D
>
> > Posted at 
> > Forums:http://www.mooforum.net/script-showcase-f25/xml-object-converter-t410...
>
> > The next step is add it to MooGooMaps with the intention of let
> > persons with almost none effort have their google maps with markers
> > and funny stuff done from a simple XML document.
>
> > Example:
>
> > a node like
>
> > <Marker title="marker title" lat="10" lng="20" html="HTML to display
> > inside an InfoWindow" />
>
> > in your xml will tell MooGooMaps to make a marker with those
> > properties
> > the same way it will be implemented in others script I have.
>
> > I'd be glad to receive any feedback from you, thanks.
>
> > Best regards,
> > Ciul.

Reply via email to