Escape sequences in XML

Hi, i have this node

<answer text="c. 2+2\<4."></answer>

i need to use the mathematical notation for less than - how to I do this?

ta.
blu.
LVL 39
blue-genieAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
<answer text="c. 2+2 &lt; 4."></answer>
0
 
blue-genieAuthor Commented:
you're a star, ta

ps. does \ not work in xml?
0
 
Carl TawnSystems and Integration DeveloperCommented:
nope. thats a javascript/c/c++ escape method.
0
All Courses

From novice to tech pro — start learning today.