Hi Pekr, Well, I think there's not one answer to this question :-) It's more a matter of what we will use it for. The two approaches have their strengths and their weaknesses, and are meant for different purposes. So, I think that providing a solution for the two implementations should be great ! Everybody happy :-) Now, in my job context, the sequence of the data elements is of importance, and the memory load should not be an issue. The approach which fits the best my needs is DOM, I think. This is what we're working on now.
A very interesting discussion could take place concerning the SAX approach. How should the custom object model look like ? How should the SAX document handler work to interpret all the SAX events ? What kinds of SAX events are fired by the SAX parser ? Etc... I'm looking forward for answers to those questions and I would be glad to participate to the debates on AltMe :-) -- Christophe=20 =20 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Petr Krenzelok > Sent: Monday 7 November 2005 10:22 > To: [EMAIL PROTECTED] > Subject: [REBOL] Re: XML questions >=20 >=20 > Coussement Christophe napsal(a): >=20 > >Hi Carsten, > > > >In my job, I have to work a lot with big (>2MB) XML files.=20 > So, I've set=20 > >a few people on developping a useful xml lib, basically containing=20 > >those > >functions: > > > >load-xml > >save-xml > >get-data ;-- xpath-like notation > >set-attribute > >set-content > > > >The first alpha should be ready in a few weeks (that's not the only=20 > >work we've to do :-)) and will be published on rebol.org for=20 > comments=20 > >and critics. > > > >-- Christophe=3D20 > >=3D20 > > =20 > > >=20 > Hi, >=20 > currently there is some discussion on AltME of how to aproach=20 > XML in REBOL. Do we want more of a SAX aproach, or DOM one?=20 > Or some kind of mix (XOM)? It is really fine that your ppl=20 > are coding something, their expertise might come helpfull.=20 > But as for me, I would like to have that thing solved once=20 > and for all. XML support in rebol itself is weak.=20 > Gavain's stuff I regard being as a most complete stuff I=20 > worked with so far, but it lacks writing back to XML. >=20 > So, what we do - do we get to some conclusion of which way we=20 > actually want to go? >=20 > -pekr- >=20 > -- > To unsubscribe from the list, just send an email to lists at=20 > rebol.com with unsubscribe as the subject. >=20 >=20 -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
