- From: Norm Tovey-Walsh <ndw@nwalsh.com>
- Date: Fri, 17 Jan 2025 17:26:14 +0000
- To: John Dziurlaj <john@turnout.rocks>
- Cc: "xproc-dev@w3.org" <xproc-dev@w3.org>
John Dziurlaj <john@turnout.rocks> writes:
> Suppose I want to pretty-print an XML document using XProc. Of course I can use XSLT:
The cheap and cheerful approach is simply to specify the serialization
parameters on your pipeline output:
<p:output port="result"
serialization="map{'method': 'xml', 'indent':true()}"/>
(XML Calabash will let you specify defaults in your configuration file.)
Be seeing you,
norm
--
Norm Tovey-Walsh <ndw@nwalsh.com>
https://norm.tovey-walsh.com/
> Nearly every complex solution to a programming problem that I have
> looked at carefully has turned out to be wrong.--Brent Welch
Received on Friday, 17 January 2025 17:26:23 UTC