Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: XML-processor toy. Or: "RFC"

From: brett:codeconscious at: 18-Nov-2000 13:17

I've been musing on this recently. Funnily enough I've been building my own xml-processor toy like Christian's though I haven't got as far yet as actually having it do something. I wanted to parse the xml-dtd to create a rebol object that would in turn offer two functions. The first to parse the actual xml document into a Rebol form. The second to convert the Rebol form back to an xml document. Using a seperately generated object gets around the problem of mimicking xml into Rebol (eg. attributes / contents) and skirts around the issue of having one right Rebol form for holding xml data. So the Rebol form could be a wordy dialect, nested objects, block structure suitable for use with paths, or combination of these. Whatever is the most useful. Unfortunately I haven't quite got the time to see this through at the moment. Brett.