in reply to Re^2: convert whole html-files to xml
in thread convert whole html-files to xml

"have updated my q"

Your question seems to make the assumption that HTML::Tiny works identically to XML::Simple but processes HTML instead of XML. It does not. The two modules are completely unrelated. Applying knowledge from an XML::Simple article to HTML::Tiny will not do what you want.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^4: convert whole html-files to xml
by dschinn1001 (Initiate) on Sep 15, 2013 at 15:54 UTC

    The main reason, why I was putting this question above is,
    that I planned to create xml-files out of html-files,
    then later to create files in c/c++ out of xml-files.
    thought simply it would becoming then a faster homepage,
    when it is later compiled in C or C++. - but now ... html is
    only script-language and C is not script-language - so
    this idea would not work then ? - but main thing is first to create xml-files or files in html5 are okay too.
    How look next steps to do ?

    here is a sample in html - name of file is test001.html: (was not possible to post example here - the code is got
    swallowed somehow - would have to mask the whole code ?)

      thought simply it would becoming then a faster homepage,

      Um, no, static files (and compressed) are the fastest kind of homepage available

      A reply falls below the community's threshold of quality. You may see it by logging in.