package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Mar 5, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package xxml 提供与 xml 相关的功能
MapFromXMLReader 从 io.Reader 读取内容,并填充到 map 中
type CData struct {
Text string `xml:",cdata"`
}
CData 表示 xml 中的 CDATA 的内容,本身并不能直接以字段的形式
出现在结构体中,只能以一个结构包含住。
具体的使用方式可参考测试代码
Source Files
¶
Click to show internal directories.
Click to hide internal directories.