clover2411 wrote:
Not sure why InfoPath generates div tags with namespace declarations on
them in the middle of a form though, it'd be easier if it didn't!
No, it will be _exactly_ as easy to work with them, however they
appear. It's fundamental to XML that these namespacing rules don't care
where the attribute appears, they just care what's in scope.
How you code your XSLT is a separate problem. IMHE, always place your
own namespaces on the XSLT root xsl:stylesheet element and always use
an explicit namespace prefix, not the default. Although it's
technically possible to do it the other way, it's not humanly possible
to understand the source.