Visit Jeremy's Blog.
Go Back > Blogs
User Name



Validate OOXML

Posted 12-11-2020 at 11:27 AM by Michael Uplawski
Updated 12-15-2020 at 01:05 AM by Michael Uplawski (moved one paragraph, cosmetics, threads linked.)

Validate OOXML

Ensure the standard-conformance of OOXML-documents created from scratch.
See also the two Threads concerning this topic: A styled version of this document:
Senior Member
Views 395 Comments 0 Michael Uplawski is offline

XML - beautifying

Posted 04-02-2014 at 08:19 AM by sashi_hc
Updated 04-02-2014 at 11:05 AM by sashi_hc

You want to make your XML more readable
You have just extracted an XML from a source and it is all un-indented and so not very readable. That happens in my workplace where a single XML can be many MBs in size.

Using xmllint
xmllint --format <your_existing_xml_file_name> > new_xml_file_name

If you do not have xmllint installed, you have the perl method. This is slower, but works the same. This is not my code but see the author info. Works good.
LQ Newbie
Posted in Uncategorized
Views 887 Comments 0 sashi_hc is offline


All times are GMT -5. The time now is 01:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration