Hi! I´m building an application that extracts information from some html pages from differents sites and formatting. I´m doing it with preg but i´d like to know if is possible to design a template system that will match to files and retrive the values like in the following example:
EXAMPLE OF THE EXISTING HTML CODE <table> <tr> <td><font face='arial' size='2'>Number</font></td> <td>123456789</td> </tr> <tr> <td><font face='arial' size='2'>Owner</font></td> <td>My Self</td> </tr> </table> EXAMPLE OF THE TEMPLATE HTML CODE <table> <tr> <td><font face='arial' size='2'>Number</td> <td><value>number</value></td> </tr> <tr> <td><font face='arial' size='2'>Number</td> <td><value>owner</value></td> </tr> </table> So... the goal of the system is to match these 2 html and retrive the value. Anyone has any idea of how i can do this? thanks Adonias Malosso
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 18/02/03
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php