开发者

Symbols in XML attributes

开发者 https://www.devze.com 2023-01-21 01:46 出处:网络
Can i use symbo开发者_如何学Gol \':\' in xml attributes like <tag1 attribute1:meaning1=\"true\">

Can i use symbo开发者_如何学Gol ':' in xml attributes like

<tag1 attribute1:meaning1="true">


The : is used to include a namespace (which is part of the fully qualified name of the attribute) before the local name of the node.

So, yes it is allowed.


Yes you can use ":" symbol in xml attributes

like

img src="http://----" />

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号