>From http://www.w3.org/TR/xslt.html#stylesheet-element

"In addition, the xsl:stylesheet element may contain any element not from
the XSLT namespace, provided that the expanded-name of the element has a
non-null namespace URI. The presence of such top-level elements must not
change the behavior of XSLT elements and functions defined in this
document; for example, it would not be permitted for such a top-level
element to specify that xsl:apply-templates was to use different rules to
resolve conflicts. Thus, an XSLT processor is always free to ignore such
top-level elements,

***and must ignore a top-level element without giving an
error if it does not recognize the namespace URI***."

(my emphasis)


Sablotron gives an error

  XSL element 'transform' can only contain XSL elements

which is a lie!

 .robin.

-- 
This space intentionally left blank

Reply via email to