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

[REBOL] Re: Subobjects?

From: al:bri:xtra at: 29-Dec-2000 10:38

Dan wrote:
> I can probe xml/the-document/name, xml/the-document/attrs, and
xml/the-document/content, but nothing below that. What am I doing wrong? Look very carefully here:
> content: [ > make object! [ > name: "space:name"
Note that 'content is a block! datatype. To access the object in there, you'll need: xml/the-document/content/1 to access the first object, then: xml/the-document/content/1/name to access the 'name word in that object. I hope that helps! Andrew Martin ICQ: 26227169