Extra Namespaces
Sometimes namespaces are referenced where we can't tell:<report xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <xsl:for-each select="//xhtml:p"> Paragraph found! </xsl:for-each> </report>
Those namespaces can be declared explicitly.
(defun add-extra-namespace (element prefix uri) ...) (defun remove-extra-namespace (element prefix) ...) (defun find-extra-namespace (prefix element) ...) (defun map-extra-namespaces (fn element) ...)