xsl-list
[Top] [All Lists]

Re: [xsl] Schema-aware pretty-printing

2011-12-22 04:17:23
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(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--