[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: "Piez, Wendell A. (Fed) wendell.piez@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Apr 2024 14:47:50 -0000
Re:  indenting maps on write
Hi again!

Hating to sound like a broken record (who else knows what I'm talking about?),
I can't help but notice that Graydon basically needs an XML parse that doesn't
perform attribute value normalization.

Couldn't that too be done using iXML? His processor would pick up a text file,
parse it using an iXML grammar for XML (without attribute value normalization)
to find the tags and attributes, rewrite and normalize accordingly, then retag
it again going out.

Maybe his entire linting step needs to work this way (I think that's the
word?).

And maybe sed or similar will be simpler and more robust. Might be like
Roger's problem - how big a problem is the problem.

Cheers, Wendell

-----Original Message-----
From: Graydon graydon@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, April 4, 2024 10:27 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  indenting maps on write

On Wed, Apr 03, 2024 at 11:30:53AM -0000, David Carlisle
d.p.carlisle@xxxxxxxxx scripsit:
> 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

Your code works fine.

The less-simplified case I'm dealing with for real doesn't, and it's looking
like resorting to sed or similar will be much simpler and more robust.

-- Graydon

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.