[XML-SIG] Embedding HTML in XML?

Ben Darnell bgdarnel@unity.ncsu.edu
Wed, 8 Sep 1999 18:37:26 -0400


I am writing a Python application that uses XML for data storage.  I
would like to allow HTML (or a subset thereof) to be used in notes,
e.g.:
<object id=1234>
  <title>Parrot</title>
  <note>
    <b>bold</b>, etc.
  </note>
</object>

I currently use SAX for processing XML.  Is there a way to tell the
parser to ignore everything until it reaches the </note> end tag, or do
I have to rebuild the original text in my {start,end}Element handlers?

Thanks,
-Ben
-- 
Ben Darnell              bgdarnel@unity.ncsu.edu
http://www4.ncsu.edu/~bgdarnel/thoughtstream/