Search
Preparing search index...
The search index is not available
astro-zero - v23.3.0
Options
All
Public
Public/Protected
All
Inherited
Menu
astro-zero - v23.3.0
xml
Module xml
Index
Functions
decode
encode
Functions
decode
decode
(
content
:
string
)
:
Object
将xml文档内容解码为Object对象。
特别注意,只支持简单的xml内容,不支持复杂的xml内容,如有模式定义引用等。
Parameters
content:
string
xml字符串
Returns
Object
encode
encode
(
object
:
Object
)
:
string
将Object对象编码为xml文档。
Parameters
object:
Object
对象内容
Returns
string
Modules
xml
decode
encode
将xml文档内容解码为Object对象。
特别注意,只支持简单的xml内容,不支持复杂的xml内容,如有模式定义引用等。