[REBOL] Re: new REBOL site
From: allenk:powerup:au at: 27-Dec-2000 11:15
Hi Ryan,
Cool Stuff.
Just 1 thing, in your example you need to encode the <> of the tags so that
they show up in HTML.
It is appearing like this
read-markup: func [
xml-file [file!]
][
message-data: load/markup xml-file
xml-data: make object! [
author: message-data/
subject: message-data/
date: message-data/
content: message-data/
messageID: message-data/
messageType: message-data/
]
xml-data
]
Instead of this
read-markup: func [
xml-file [file!]
][
message-data: load/markup xml-file
xml-data: make object! [
author: message-data/<author>
subject: message-data/<subject>
date: message-data/<date>
content: message-data/<content>
messageID: message-data/<messageID>
messageType: message-data/<messageType>
]
xml-data
]
Cheers,
Allen K