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).
paul
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).