This is what HTML Tidy is used for.  The web site for JTidy, the Java API for 
HTML Tidy, as at http://jtidy.sourceforge.net/.


________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gandon, 
Sébastien
        Sent: Monday, June 18, 2007 8:45 AM
        To: xmltask-users@lists.sourceforge.net
        Subject: [Xmltask-users] loose xml parsing
        
        

        Hello again,

         

        I need to parse html file to look for a tag but a lot of html pages are 
not XML "well-formed" and fail the xml parser.

        Would it be possible to loosen up the xml parser used so that is 
accepts not well-formed xml files, at least for read only acces?

         

        Thanks for any response.

         

        SeB.

        
***********************************************************************************
        This e-mail is confidential, the property of NDS Ltd and intended for 
the addressee only. Any dissemination, copying or distribution of this message 
or any attachments by anyone other than the intended recipient is strictly 
prohibited. If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message. Messages sent to 
and from NDS may be monitored. NDS cannot guarantee any message delivery method 
is secure or error-free. Information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. We do not accept 
responsibility for any errors or omissions in this message and/or attachment 
that arise as a result of transmission. You should carry out your own virus 
checks before opening any attachment. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of NDS.
        
        To protect the environment please do not print this e-mail unless 
necessary.
        
***********************************************************************************
 
        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to