saxparser - Can I use startEntity to ask ISAXLexical Handler not to interpret #8804; -


i using isaxlexicalhendler in c++ ask reader not convert character &#8804: "≤" .

i trying put output of parser browser browser can understand meaning of character.

so created saxlexicalhendler pointer , pass reader along property "http://xml.org/sax/properties/lexical-handler".

but unable hit startentity of saxlexicalhendler when call parse.

i hitting code startdtd, enddtd,startcdata unable hit startentity()

can have this.

here input:

<?xml version="1.0" encoding="windows-1252"?> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en"  "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=us-ascii" /> <title>xsl fo document</title> </head> <body bgcolor="white" marginwidth="6" marginheight="6" leftmargin="6" topmargin="6"> <div valign="top"> <div style="font-family: helvetica,sans-serif,lucida sans unicode; font-size: 12pt; font-weight: normal; font-style: normal; text-decoration: none; color: rgb(0,0,0); background-color: transparent; margin- margin-bottom: 0.0pt; text-indent: 0.0in; margin- margin-right: 0.0in; text-align: left; border-style: none; border-width: 0.0pt; border-color: rgb(0,0,0); padding: 0.0pt; white-space: pre-wrap;"> <div>&#8804;</div> </div> </div> </body> </html> 

issue: need tell parser not convert #8804; "≤".


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -