跳轉到內容

Rebol 程式設計/解析 XML

來自華夏公益教科書
PARSE-XML code 

解析 XML 程式碼並返回一個塊樹。

PARSE-XML 是一個函式值。

  • 程式碼 -- 要解析的 XML 程式碼(型別:字串)

原始碼

[編輯 | 編輯原始碼]
parse-xml: func [
    "Parses XML code and returns a tree of blocks." 
    code [string!] "XML code to parse"
][
    xml-language/parse-xml code
]
華夏公益教科書