views:

72

answers:

3

& is allowed in XML?

+1  A: 

Yes, encode it as &

Doug D
+11  A: 

Yes, but only at the beginning of a character entity, for example > (and in some special cases, such as inside CDATA sections). If you need a literal & character, use &.

Matti Virkkunen
+1  A: 

No. Use & instead.

sashaeve