- From: <denis.maier@unibe.ch>
- Date: Fri, 17 Jan 2025 17:28:56 +0000
- To: <ndw@nwalsh.com>, <john@turnout.rocks>
- CC: <xproc-dev@w3.org>
Oh, that's even better than on p:store... > -----Ursprüngliche Nachricht----- > Von: Norm Tovey-Walsh <ndw@nwalsh.com> > Gesendet: Freitag, 17. Januar 2025 18:26 > An: John Dziurlaj <john@turnout.rocks> > Cc: xproc-dev@w3.org > Betreff: Re: Pretty printing an XML document > > 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.t/ > ovey- > walsh.com%2F&data=05%7C02%7Cdenis.maier%40unibe.ch%7C22d05cc3e6d > 54180213e08dd371c237e%7Cd400387a212f43eaac7f77aa12d7977e%7C1%7C > 0%7C638727316173164350%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hc > GkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldU > IjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2F3asmRg0mU6lCtiu4yQzhFwysux > t7LhrMEnZA6WFCx4%3D&reserved=0 > > > 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:29:10 UTC