XML indentation

Web service

Name

XML indentation

End-point:

http://www.micene.net/dev.me/web/web_services/IndentationWebService.php

Request

{"jsonrpc":"2.0","method":"XML","params":{"text":"<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>"},"id":1}

Response

{"jsonrpc":"2.0","result":{"result_text":"<?xml version="1.0"?>
<note>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
","isValid":true},"id":1}
Loading...