W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2010

Re: Custom XML formatting?

From: Conal Tuohy <conal.tuohy@versi.edu.au>
Date: Mon, 20 Dec 2010 11:44:41 +1100
Cc: XProc Dev <xproc-dev@w3.org>
Message-id: <4D0EA6F9.8000808@versi.edu.au>
On 19/12/10 10:46, Tony Rogers wrote:
> I constantly find myself arriving at the following questions:
>     * What if I want to specify certain elements have 1 attribute per
>       line each?
>     * What if I want to apply that to certain elements but not others?
>     * What if I want to apply it to an element only
>       SOMETIMES—depending on arbitrary conditions?

For XML "pretty-printing", you can always use an XSLT to convert the XML 
to HTML (quoting it), as most browsers do. Then you can lay out the 
markup as you like, and you can also have interactivity with clickable 
URI links, collapsible elements, etc.

Conal Tuohy
eResearch Business Analyst
Victorian eResearch Strategic Initiative
Received on Monday, 20 December 2010 00:45:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:07 UTC