Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 xml.dom 解析 xml 文档,我想<node></node>使用 node.toxml()保留空标签(<node />如是用xml写的吗?
<node></node>
<node />