On Dec 30, 2008, at 12:01 PM, Paul Libbrecht wrote:
I would love that.
I don't think that using W3C dom is the best performance choice
though... using StAX would be considerably better. But then, maybe
this goes into some other grounds I don't know of.
I would consider making good use of this export and, ideally, it
should be "meta linked" (as the RSS stream is).
hmmm... thinking more about it it's not very different from an HTML
export so maybe it's not needed after all. Maybe we could simply make
the HTML export more easily accessible (right now it creates a zip
with the skin)?
-Vincent
Le 30-déc.-08 à 11:28, Vincent Massol a écrit :
> I think it might be interesting to export a document's structure (the
> XDOM) to the XML we generate for pages (?xpage=xml), in addition to
> the unparsed content and the rendered content.
>
> This would make it easy for external tools to process page structures
> and extract required information. More importantly it's something
> easy
> to do now.
>
> WDYT? This is low priority but I thought it could be interesting.
>
> Technically this means writing a DOMListener (which creates a w3c
> Document from a XDOM).