XML 的一些总结

XML Namespace

xml:lang and xml:space

As of the last update of this document, the XML 1.0 Specification (Fifth edition) (and also the XML 1.1 Specification Second edition) defines two attribute names in this namespace:

xml:lang
Designed for identifying the human language used in the scope of the element to which it's attached.
xml:space
Designed to express whether or not the document's creator wishes white space to be considered as significant in the scope of the element to which it's attached.

xml:base

The XML Base specification (Second edition) describes a facility, similar to that of HTML BASE, for defining base URIs for parts of XML documents. It defines a single attribute, xml:base, and describes in detail the procedure for its use in processing relative URI refeferences.

xml:id

The xml:id specification defines a single attribute, xml:id, known to be of type ID independently of any DTD or schema.

 

这是直接从w3上copy下来的

 

XML特殊符号

&lt;  <
&gt;  >
&amp;  &
&apos;  '
&quot; "
posted @ 2020-03-12 16:06  zhaotianff  阅读(218)  评论(0编辑  收藏  举报