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

[REBOL] Working with tags

From: gedb01::yahoo::co::uk at: 11-Nov-2003 1:02

I'm just having a little bit of trouble with tags, and I can't find what I'm after in the docs. I'm using the following expressions: fp: [] text: "This is text" append fp rejoin [<tag> text </tag>] The result is: <tagThis is text</tag>> I wanted: <tag>This is text</tag> If I try: append fp [<tag> text </tag>] I get: <tag> text </tag> If I try: append fp reduce [<tag> text </tag>] I get: <tag> "This is text" </tag> Which is oh so close, but I don't want them quotes in! To infuriate me further print [<tag> text </tag>] displays the desired results. Where am I going wrong? What expression should I be using?