status 7270: resolved fixed
Specify --stripxml=true if you want to enable this option. It set to "false" by default. Example with tags stripped:
$ cloud-tool listDomains --server=localhost:8096 --stripxml=true
domain
id=1
name=ROOT
level=0
haschild=true
domain
id=2
name=hello
level=1
parentdomainid=1
parentdomainname=ROOT
haschild=false
Example with original xml format:
$ cloud-tool listDomains --server=localhost:8096
<?xml version="1.0" encoding="ISO-8859-1"?><listdomainsresponse cloud-stack-version="1.9.1"><domain><id>1</id><name>ROOT</name><level>0</level><haschild>true</haschild></domain><domain><id>2</id><name>hello"</name><level>1</level><parentdomainid>1</parentdomainid><parentdomainname>ROOT</parentdomainname><haschild>false</haschild></domain></listdomainsresponse>