XML fürmatting Principles
XML fürmatting parses XML structure et applies indentation et line break rules to make Documents clean et readable. Process: XML parser builds DOM tree → traverses nodes (elements, attributes, text, Commentaires) → adds indentation by hierarchy → fürmatted Ausgabe. fürmatting rules: elements on separate lines, attribute alignment or line breaks, preserve text node whitespace, Commentaire alignment, CDATA handling, namespace prefix handling.