Doing my first steps with REBOL I tried to do something with XML 
(reading/eventually 
modifing/writing). I looked for some scripts helping me to do this and found:

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

    The second documents finishes outputting elements after some comment block 
in
     the source xml doc.

 2. xml-parse/xml-object:
     The versions I found on the reb library didn't work, I used some older 
versions
     from rebXR-1.3.0, I've got my objects, but it would be nice to have a 
third module like
     xml-write to get the object tree back to xml. Is somebody developing 
something like this?

 3. mt.r:
     I tried to figure out how it works. Basically I can write some XML based 
on a REBOL
     block but I couldn't figure out how to define the rules about elements and 
attributes.
     Where can I find an example about writing for instance svg with mt.r, how 
looks the
     coresponding REBOL block and the rules for svg?

Where can I find more about xml and REBOL, I think it would be very nice to 
have some 
REBOL scripts, doing things like 
   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

Is somebody developing something like this with REBOL? Some scripts giving me 
the same 
comfort in REBOL like maybe XOM (http://www.xom.nu) is giving for XML in Java. 
Of course 
done with some nice REBOL dialects?

Thank you for any tips, carsten

PS: I tried to put the same message in AltMe: I opened the XML group, switched 
to the text 
edit mode (the small pen), inserted the text and finally pushed the "send 
message" button, 
but nothing appeared? What have I done wrong?

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to