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

[REBOL] Complex Series XML Parsing?

From: depotcity::home::com at: 7-Mar-2001 14:48

Hello all. What's the best approach to parsing out the data between xml tags in a series. eg: <thexml> <tag1> This is some string <tag2> with embedded tags </tag2> and another <tag3> with this string, </tag3> ending with this string.</tag1> </thexml> so that we get... thexml: [ tag1 "This is some string" tag2 "with embedded tags" tag1 "and another" tag3 "with this string" tag1 "ending with this string." ] Where: The tag is converted to a word and the contents into a string BUT... where the tag names are unknown, just that they are tags. Thanks Terry Brownell