Re: [xsl] indenting maps on write

Subject: Re: [xsl] 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
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: [xsl] 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