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

[REBOL] XML parsing / XMLRPC

From: rebol::svendx::dk at: 25-Sep-2000 1:02

Hello everybody, I've uploaded a few scripts that adds some XMLRPC functionality to REBOL and an extended XML parsing function to my (brand new!) REBOL section at It's very much beta, and quite untested (and no server-side functionality yet), but anyways, here's a demo of what it currently can do: REBOL/Core 6-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved. ## do %xml-utils.r ## do %xml-rpc.r ## test-host: make xml-rpc/host! [ [ host: [ ] ## test-host/add-method 'examples.getStateName [state-no [integer!]] ## test-host/exec [ [ state-no: random 40 [ print ["The name of state no." state-no "is" examples.getStateName state-no] [ ] The name of state no. 15 is Iowa (I hope don't mind me testing against their demo server too much :-) It currently handles marshalling REBOL to/from XMLRPC for the following datatypes: integer! <-> <i4> logic! <-> <boolean> string! <-> <string> decimal! <-> <double> date! <-> <datetime.iso8601> binary! <-> <base64> block! <-> <array> object! <-> <struct> (including nested arrays and structs) Best regards Thomas Jensen