[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|