小编Ntr*_*ess的帖子

如何在XML标记内注释属性?

是否可以在XML标记内注释一个或多个属性?/* */来自C的东西

我尝试过使用<!-- -->,但没有成功.

<element
    attribute1="value1"
    attribute2="value2"
    <!-- attribute3="value3" (commented value) -->
>
Run Code Online (Sandbox Code Playgroud)

xml comments xml-attribute xml-comments

53
推荐指数
4
解决办法
2万
查看次数

标签 统计

comments ×1

xml ×1

xml-attribute ×1

xml-comments ×1