Reputation:
Can i use symbol ':' in xml attributes like
<tag1 attribute1:meaning1="true">
Upvotes: 1
Views: 221
Reputation: 3599
Yes you can use ":" symbol in xml attributes
like
img src="http://----" />
Upvotes: 0
Reputation: 499002
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.
Upvotes: 1