In the words of that immortal American icon Homer Simpson, "Doh!"
Here is the opening tag of the stylesheet element:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ck="http://surreylane.net"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:x="urn:schemas-microsoft-com:office:excel">
Four namespaces, none of them default.
However, the template matching the root has this:
<xsl:template match="/">
<html
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/1999/xhtml">
So there it was, hiding.
I changed things around so that I now call a template by name from the spot
where I want the elements to appear. They are produced in the called template
which doesn't have any of the namspace complications.
Thanks for the "whack on the side of the head".
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Michael Kay <mike(_at_)saxonica(_dot_)com>
Sent: Tue, 17 Oct 2006 18:21:06 +0100
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: RE: [xsl] Can't use variable as temporary tree in XSLT 2.0
Please someone tell me what I don't see.
A default namespace declaration on the xsl:stylesheet element, perhaps?
Just guessing.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--