介绍
帮助文档:QXmlStreamReader、QXmlStreamWriter
除此以外读取时还需要使用QXmlStreamAttributes
QXml-Token标记类型
| Constant | Value | Description |
|---|---|---|
QXmlStreamReader::NoToken |
0 |
The reader has not yet read anything. |
QXmlStreamReader::Invalid |
1 |
An error has occurred, reported in error() and errorString(). |
QXmlStreamReader::StartDocument |
2 |
The reader reports the XML version number in documentVersion(), and the encoding as specified in the XML document in documentEncoding(). If the document is declared standalone, isStandaloneDocument() returns true; otherwise it returns false. |
QXmlStreamReader::EndDocument |
3 |
The reader reports the end of the document. |
QXmlStreamReader::StartElement |
4 |
The reader reports the start of an element with namespaceUri() and n |
266



被折叠的 条评论
为什么被折叠?



