xsl-list
[Top] [All Lists]

Re: [xsl] Saxon removes namespace in XHTML output

2006-08-22 09:39:22


(XHTML namespace set up here on html element)
probably you have put xmlns="..." on the html element in your
stylesheet, this means that it is only in scope for that region of the
stylesheet, so when you generate a <p> in other templates that generates
a p in no-namespace which has to be serialised with xmlns="".
You want all result elements to be in xhtml so you want that to be the
default namespace in all of the stylesheet so put the namespace
declaration on xsl:stylesheet.

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--