Probably the simplest way is to use the -asxml flag of tidy - which is written in perl :) [There is a perl wrapper for TidyLib, called HTML::Tidy].
$ tidy -asxml foo.html > foo.xml
After Compline,
Zaxo
In reply to Re: How to convert HTML to XML w/ Perl?
by Zaxo
in thread How to convert HTML to XML w/ Perl?
by lacika
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |