This script will the Pretty Print the XML documents in a fileset. It can be used for DTBs and/or (most types of) standalone XML documents.
Pretty printing means adding indentation and line breaks to the XML source code of the document.
Pretty printing seldom has any effect on the experience of the end user. However, in the case of DTB filesets, there are certain players that are very sensitive to the XML source code layout. It is therefore a good idea to pretty print DTB filesets before distribution, using a pretty printer (like this one) that takes special care to make sure the output is compatibilized.
DOS. Some DAISY players depend on linebreaks being DOS.The documents linked below are parts of the Transformer technical documentation. These are developer and systems-administrator centric documents.