[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-xml-sig
Subject:    [XML-SIG] ampersand in name how to parse
From:       larsga () ifi ! uio ! no (Lars Marius Garshol)
Date:       1999-01-26 7:30:11
Message-ID: wk3e4y8pa4.fsf () ifi ! uio ! no
[Download RAW message or body]

* 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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic