On Mon, Dec 30, 2013 at 5:08 AM, Marc 'BlackJack' Rintsch <marc@rintsch.de> wrote:
On 30/12/13 07:52, Michael Lustfield wrote:
> The XML part of it was a far less scary trip than I expected. I can see
> the exact XML that I want to produce. Is this XML just a step between
> parsing and generating? If so, is it possible to just inject it?

The XML is a representation or serialisation of the internal document
model that is the step between parsing and generating output formats.
So it has nothing to do with the process of generating HTML for
instance.  You are generating it *instead* of HTML to see the internal
structure.  It's a debugging and developing aid.

That makes sense. I can see what XML I want to produce. That does indeed help me understand the structure. Where can find examples that will help me get these elements stuck into the doc tree?