Namespace Declarations

  • XSLT preserves namespace declarations as it copies nodes.

  • Some namespaces are related only to the documentation.

  • Extra namespace declarations are confusing at best, and generate errors at worst.

XML LitProg allows you to assert that some namespaces are “mundane”. These namespaces are not copied over when tangling.