Hi, I'd like to improve the GitHub app to perform the equivalent of mvn xar:format, and I'm looking for the easiest way to do this using groovy in an XWiki instance.
I've seen that the wikistream module is also indenting XML I think using this code: https://github.com/xwiki/xwiki-commons/blob/master/xwiki-commons-core/xwiki-commons-filter/xwiki-commons-filter-xml/src/main/java/org/xwiki/filter/xml/internal/output/FilterStreamXMLStreamWriter.java However I did not really understand how to use it. What I have initially is the result of doc.toXML() What's the best way to do this ? Knowing that I will want to fallback to no indenting on older XWiki versions. Ludovic -- <http://www.xwiki.com/>*Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.orgXWiki SAS organise un petit déjeuner <http://www.xwiki.com/lang/fr/BlogFr/PetitDejeunerXWikiOctobre2014> "retour d'expérience client" le mardi 7 octobre 2014. Inscription gratuite <http://info.xwiki.com/petit-dejeuner-XWiki-octobre-2014.html>. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

