|
I want the output of the transform to be fully-compliant XHTML. The only way to do this seems to be to make the default namespace of the transform that of XHTML strict. The <xsl:element> method of copying elements from the source tree to the result tree doesn't preserve the default namespace of the template document even if I have a root element of:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://xml.com/my-template-language" xml:lang="en" lang="en">
I can I do this without losing the genericity of the transform (output agnostic).
Thanks,
JT
|