Understanding XML Worker

In the previous examples, we've used the `XMLWorkerHelper` class and its `parseXHtml()` method to parse the HTML to PDF or to a list of `Element` objects. Now suppose that this class and method didn't exist. What would we have to do?

First you need an instance of the `XMLWorker` class. With this instance you can create an `XMLParser`. Finally use its `parse()` to parse an HTML file.

Let's take a look at an example, and examine every step.