Kirk Storer wrote:

I am including an xhtml document in my page using the
following which works fine with a plain old <html>
tag.
<xsl:copy-of select="html/body/*"/>
However, if the html tag contains an xmlns attribute
it doesn't work. How can I get the xslt to reconize
the html tag even though it has attributes.



Declare a namespace in your XSLT, such as xhtml.

Then do <xsl:copy-of select="xhtml:html/xhtml:body/*"/>

Should do it, I think.

Upayavira, who is delighted that the engineers working busily somewhere in West London have restored his internet connection.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to