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…
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*
ludovic(a)xwiki.com
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>.