[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: indenting maps on write

Subject: Re: indenting maps on write
From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Apr 2024 11:30:46 -0000
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.")

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.