salut ,
mon but est en fait de parcourir un fichier html et copier juste ce qui se trouve entre les tag perso dans un autre fichier pour le transformer en xml.
esxemplesavez vous comment peut on faire ceci???
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <title>Exemple </title> </head> <body> blaaa blaaaa blaaaaa <tag_perso> <table summary="Tidy Options Quick Reference Header Section" border="0" cellpadding="3" cellspacing="0"> <tr valign="bottom"> <td class="h3" colspan="2" id="MarkupHeader">HTML, XHTML, XML Options</td> <td valign="top"> <a href="#top">Top</a> </td> <td> toto </td> </tr> </table> </tag_perso> bla bla bla bla </body> </html>
Partager