slide 15
How to make your documents namespace-clean
By hand
Or, an XSLT 2.0 stylesheet can do it!
Input: An XML document
Input: A list of controlled namespaces with the prefixes you want
Output: A result with namespaces promoted to document scope and prefixes (re)assigned,
Or, the input unchanged with a report on why conversion is not possible
See demo on
slide 23
Mulberry Technologies, Inc. • Taming the Namespace Beast • JATS-Con 2011