tags:

views:

30

answers:

2

Can i use symbol ':' in xml attributes like

<tag1 attribute1:meaning1="true">
+1  A: 

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.

Oded
Oh, thx i forgot about it
A: 

Yes you can use ":" symbol in xml attributes

like

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

sagar
the question is about using ":" in the attributes name, not the content.
oezi