in reply to convert whole html-files to xml

G'day dschinn1001,

Welcome to the monastery.

While I haven't used HTML::Tiny, looking at its documentation, I see it's for generating HTML and XML; not for converting HTML to XML. I don't think this is the tool for the task you describe.

Have a look at the guidelines in "How do I post a question effectively?" and then post a minimal extract of test01.html along with the corresponding conversion you want in test01.xml. When we have that, we'll be in a better position to advise what the appropriate tools are.

It would also be useful to know if this a one-off exercise, if you have thousands of HTML documents that need converting and you're looking to automate the process, or something in between.

-- Ken