xsl-list
[Top] [All Lists]

Re: [xsl] Best way of preserving comments?

2013-04-03 08:14:33
 <xsl:strip-space elements = "*" />

is the best I could do to preserve the original comment and element
layout, shown with beginning of input and output XML, below. Can this
be improved? Losing empty lines is tolerable, losing line breaks is
not so great.

Hi,

It's not clear what you are trying to do as your code conflicts with
your wordy description... maybe produce a simple small complete sample
with required output.

cheers
andrew


--
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>