string.writeXML: write a table as XML
The input format is assumed to be that output by luaexpat
  @t: table to print
  In each element, tag is its name, attr is the table of attributes,
  and the sub-elements are held in the integer keys
  @indent: indent between levels ["\t"]
  @spacing: space before every line
  @s: XML string