|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Correcting misplaced spaces in XML documents
On Mon, 2023-03-27 at 20:00 +0000, Eliot Kimber eliot.kimber@xxxxxxxxxxxxxx wrote: > > You can also use XQuery databases like BaseX to do the updating but > that takes a bit more work to set up the writing of the result back > out and the database may not always preserve all the document details > the way Oxygen or Saxon will. You don't have to use a database - or even have a database server running - to use BaseX for this. Although if you do ahve a server running, you can avoid the Java runtime startup time, of course. Just use doc() and, if needed, file:write() and serialize(). I think these days BaseX no longer strips whitespace-only text nodes by default, thankfully. liam -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
|
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
|

Cart








