2004
-
Preventing random namespace tags in xsl output
When doing xsl transformations to output xhtml in some processors namespace attributes can appear on random elements. This makes the resulting code much larger than necessary but also prevents the page from being validated. To prevent these kinds of problems here’s the simple solution.