Menu

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

open
nobody
5
2011-02-24
2011-02-24
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


Log in to post a comment.