Android Question xml indent

DPaul

Active Member
Licensed User
Longtime User
Hi,

Using xmlbuilder: works fine. It outputs a "loooong" string.
To get that indented/ formatted properly, one uses a "map", featuring this line:
... mapx.Put("{http://xml.apache.org/xslt}indent-amount", "4") ...

This completely eludes me:
Question:
Is this a call to some routine at this URL?
What happens if the user , executing this part of the program, is not online?
Or am i missing something here, which is entirely possible :)

(The alternative for me is to write my own xml "stringbuilder", ok, less elegant than xmlbuilder but in confort zone :)
Or, parse the "astring" from xmlbuilder myself. After every "< /...> " start a new line ....)
?
thx,
Paul
 
Top