Hello,
How can we/can we use special characters as a value of an element attribute. For eg: when i use something like:
<comics name="cow & boy">xyz</comics> or
<comics name="jane's world">abc</comics>
the xml parser breaks b/c of & and '
Any clues as to how to use special characters within the xml element? Or special characters cannot be used like this? I tried using & for & and ' for ' but it doesn't seems to work either. It just seems like a very trivial thing but does anyone how use special characters in this manner?
Thanks.
How can we/can we use special characters as a value of an element attribute. For eg: when i use something like:
<comics name="cow & boy">xyz</comics> or
<comics name="jane's world">abc</comics>
the xml parser breaks b/c of & and '
Any clues as to how to use special characters within the xml element? Or special characters cannot be used like this? I tried using & for & and ' for ' but it doesn't seems to work either. It just seems like a very trivial thing but does anyone how use special characters in this manner?
Thanks.