Re: [xsl] Schema-aware pretty-printing

Subject: Re: [xsl] Schema-aware pretty-printing
From: Michel Hendriksen <michel.hendriksen@xxxxx>
Date: Thu, 22 Dec 2011 11:17:08 +0100
To visually identify insertion places you could view the XML with p.e.
IE/other browser.

On Thu, Dec 22, 2011 at 10:58 AM, Andrew Welch <andrew.j.welch@xxxxxxxxx>
wrote:
>> I need to add some processing instructions at various points in the file
but
>> I don't want to introduce any significant whitespace in the process of
doing
>> so.
>
> Do an identity transform, with the relevant templates to add the
> processing instructions.
>
> If you really do want to add some whitespace so you can manually look
> at the xml, then you could do the same as above but insert the
> whitespace in the specific templates (& # xa;)
>
> --
> Andrew Welch
> http://andrewjwelch.com

Current Thread