Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML to XSL validating
Message
De
06/04/2007 19:24:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
HTML to XSL validating
Divers
Thread ID:
01213147
Message ID:
01213147
Vues:
61
Get an HTML as input and convert it to a valid XSL/XML file (close unclosed tags, put quotes around attribute values and such). I can do this walking the nodes with DOM and rewriting it out but maybe there is something that does it?
ie:
<html>
 <meta blah blah>
 </body>
 <p>
 <table border=1>
   <tr>
     <td></td>
   </tr>
  </table>
 </body>
</html>
To:
<html>
 <meta blah blah/>
 </body>
 <p/>
 <table border="1">
   <tr>
     <td></td>
   </tr>
  </table>
 </body>
</html>
TIA
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Répondre
Fil
Voir

Click here to load this message in the networking platform