This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ToCompactXML

ToCompactXML[expr]
generates an equivalent SymbolicXML expression that suppresses all the redundant namespace information for elements and attributes in expr.
ToCompactXML[expr, patt]
suppresses only namespaces that match patt.
  • To use ToCompactXML, you first need to load the XML Package using Needs["XML`"].
  • The following option can be given:
"AttributesDefaultNameSpace""NullNameSpace"controls how attribute namespaces are abbreviated