Rebol Programming/parse-xml

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

PARSE-XML code 

DESCRIPTION:[edit | edit source]

Parses XML code and returns a tree of blocks.

PARSE-XML is a function value.

ARGUMENTS:[edit | edit source]

  • code -- XML code to parse (Type: string)

SOURCE CODE[edit | edit source]

parse-xml: func [
    "Parses XML code and returns a tree of blocks." 
    code [string!] "XML code to parse"
][
    xml-language/parse-xml code
]