[XML-SIG] ampersand in name how to parse

Lars Marius Garshol larsga@ifi.uio.no
26 Jan 1999 08:30:11 +0100


* Hirendra Hindocha
| 
| <node name="root" id="">
|  <node name="test & 2" id="1234">
|  </node>
|  </node>
| 
| the & in the name above seems to cause an exception .

As it should, since the document above is not well-formed. (XML is
much stricter than HTML.)
 
| What do I need to do to be able to accept the & in the name ? 

Write it as &amp; instead. :)

--Lars M.