xsl-list
[Top] [All Lists]

Re: [xsl] Schema-aware pretty-printing

2011-12-22 03:59:08
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>
--~--