Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#331 Allow all browsers to see XML from a XINS API

open
nobody
5
2011-02-24
2011-02-24
Ernst de Haan
No

Currnetly, when a browser calls a XINS API, the API returns XML by default.

Browsers like Internet Explorer and Firefox display this XML in a nice manner, with syntax highlighting and the possibility for the user to collapse and expan subtrees.

However, other browsers, like Safari, Chrome (and mobile browsers) do not offer that non-standard behaviour and functionality.

It would be nice if all browsers would get the possibility to see the XML and (optionally) also to be able to expand/collapse subtrees.

Potential implementation: A calling convention that recognizes a browser (by the User-Agent header?) and returns HTML (displaying stylized XML, just like IE and Firefox do) with some CSS and JavaScript included in the page (or linked to xins.org or so).

Discussion