什么是<! ... !>
在 XML 中是什么意思?
这<? ... ?>
指定处理指令 according to this , 但我没有找到关于第一个的信息。
最佳答案
<! ... !>
由于结尾 !>
而不是 XML 结构.
但是,以下 XML 结构确实以 <!
开头:
<!--
开始 comment ,以-->
结尾<![CDATA[
开始 CDATA section ,以]]>
结尾<![INCLUDE[
和<![IGNORE[
开始conditional sections , 以]]>
结尾.<!DOCTYPE
开始 document type declaration .<!ELEMENT
开始 element type declaration .<!ATTLIST
开始 attribute list declaration .<!ENTITY
开始 entity declaration .<!NOTATION
开始 notation declaration .
以上每个结构的结尾都是>
除非另有说明。
关于xml - <! ... !> 在 XML 中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60801060/