Symbols in XML attributes
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://----" />
精彩评论