Subject: Re: [xsl] indenting maps on write From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 3 Apr 2024 11:30:46 -0000 |
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.")
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] indenting maps on write, Graydon graydon@xxxx | Thread | Re: [xsl] indenting maps on write, Graydon graydon@xxxx |
Re: [xsl] indenting maps on write, Graydon graydon@xxxx | Date | [xsl] Need an XPath expression whic, Roger L Costello cos |
Month |