Converts an HTML file into a compliant XHTML file.
Usage: java igpp.xml.ToXHTML [options] file
Options:
usage: igpp.xml.ToXHTML
-c,--css {arg} | CSS. A CSS file to insert into the generated document. |
-h,--help | Display this text |
-o,--output {arg} | Output. Output generated document to {file}. Default: System.out. |
-v,--verbose | Verbose. Show status at each step. |
Acknowledgements:
Development funded by NASA's PDS project at UCLA.
A command like:
where 'family.xml' contains:
<doc> <name>John</name> <sibling> <name>Paul</name> <child> <name>William</name> </child> </sibling> </doc>
will generate XML that looks like:
<?xml version="1.0" encoding="ISO-8859-1"?> <html> <head /> <body> <doc> <name>John</name> <sibling> <name>Paul</name> <child> <name>William</name> </child> </sibling> </doc> </body> </html>