× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

the choice of the language depends on your skills...

in RPG, you could possibly try to run XML-SAX on a sample file and with a
small program see if you can use it... (have you a sample document... )
XML-SAX will probably end in error because all tags are not closed... but
the error will occur after your handler has processed the data...

to parse an html page in SQL, you probably need to clean it and make it
an valid XML with XSLT transformation... then use XML-PARSE
in Java the HTML page would be easily parsed as a DOM document..


From: john art <jhon_art@xxxxxxxxxxx>
To: "midrange-l@xxxxxxxxxxxx" <midrange-l@xxxxxxxxxxxx>
Date: 19/04/2018 17:57
Subject: Re: Parser for HTML
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hi Paul


i would read an HTML file stored in IFS


i would like to use RPG or SQL (is possible) id RPG or SQL not good for
this, wich are the other options


thanks


Hello
could you clarify the need ?
do you want to read an html document stored in the IFS (ex:
/home/QPGMR/doc1.hml ) and extract some data to insert in a table?


________________________________
Da: john art
Inviato: giovedì 19 aprile 2018 12:31:04
A: midrange-l@xxxxxxxxxxxx
Oggetto: Parser for HTML


Hi all


i would need to read and HTML document e store the variable value that are
in the HTML doc in data base table

How cai dot it ?

thanks in advance

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.