Hi Carsten, In my job, I have to work a lot with big (>2MB) XML files. So, I've set a few people on developping a useful xml lib, basically containing 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 work we've to do :-)) and will be published on rebol.org for comments and critics. -- Christophe=20 =20 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: Saturday 5 November 2005 12:25 > To: [EMAIL PROTECTED] > Subject: [REBOL] XML questions >=20 >=20 > Doing my first steps with REBOL I tried to do something with=20 > XML (reading/eventually modifing/writing). I looked for some=20 > scripts helping me to do this and found: >=20 > 1. xml2rebxml/rebxml2xml: > I got the following problems: > - missing/loosing comments > - missing/loosing elements - that's realy serious > my steps were: > my-doc: xml2rebxml read %simple.xml > write %simple2.xml rebxml2xml my-doc >=20 > The second documents finishes outputting elements after=20 > some comment block in > the source xml doc. >=20 > 2. xml-parse/xml-object: > The versions I found on the reb library didn't work, I=20 > used some older versions > from rebXR-1.3.0, I've got my objects, but it would be=20 > nice to have a third module like > xml-write to get the object tree back to xml. Is=20 > somebody developing something like this? >=20 > 3. mt.r: > I tried to figure out how it works. Basically I can=20 > write some XML based on a REBOL > block but I couldn't figure out how to define the rules=20 > about elements and attributes. > Where can I find an example about writing for instance=20 > svg with mt.r, how looks the > coresponding REBOL block and the rules for svg? >=20 > Where can I find more about xml and REBOL, I think it would=20 > be very nice to have some REBOL scripts, doing things like=20 > some-elem: xml-create [ elem "foo" namespace "myns" attribs [ > bar "something" > xyz "123"] > ] > xml-modify [ elem another-elem append some-elem ] and finally > xml-write %mynewxml.xml my-doc >=20 > Is somebody developing something like this with REBOL? Some=20 > scripts giving me the same comfort in REBOL like maybe XOM=20 > (http://www.xom.nu) is giving for XML in Java. Of course done=20 > with some nice REBOL dialects? >=20 > Thank you for any tips, carsten >=20 > PS: I tried to put the same message in AltMe: I opened the=20 > XML group, switched to the text edit mode (the small pen),=20 > inserted the text and finally pushed the "send message"=20 > button, but nothing appeared? What have I done wrong? >=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.
