xml 空元素的写法

前端之家收集整理的这篇文章主要介绍了xml 空元素的写法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Empty XML Elements

An element with no content is said to be empty.

In XML,you can indicate an empty element like this:

<element></element>

You can also use a so called self-closing tag:

<element/>

The two forms produce identical results in XML software (Readers,Parsers,Browsers).

猜你在找的XML相关文章