[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Best way of preserving comments?


Subject: Re: [xsl] Best way of preserving comments?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 3 Apr 2013 14:15:49 +0100

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


Current Thread
Keywords
xml