[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: indenting maps on write
On Wed, 3 Apr 2024 at 12:16, Graydon graydon@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > On Wed, Apr 03, 2024 at 12:29:12AM -0000, David Carlisle > d.p.carlisle@xxxxxxxxx scripsit: > > If you want to force a newline in the serialisation you need to > > special case the newline from the standard xml normalisation, I use @ > > here but any character guaranteed not to be in the input would work > > Thank you! > > It looks like I will also have to always subtract a space (since the > newline normalizes to space) and also figure out why there's a " > No character data is allowed between top-level elements" error. > > Which is to say, there's no robust way to do this. > The code I posted ran without error and handled removing the space it my have got mangled by an email program I'll send it direct as an attachment Davis > -- Graydon > > -- > Graydon Saunders | graydonish@xxxxxxxxxxxx > CC&s oferC)ode, C0isses swC! mC&g. > -- Deor ("That passed, so may this.")
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|