On Tue, Dec 30, 2008 at 11:28 AM, Vincent Massol <[email protected]> wrote:
Hi,
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).
I think it should not be in the default xar export format as it's useless informations for exporter but we could have another export format just for that or simply having a event-xml renderer we would use instead of xhtml renderer.
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne