Subject: Re: [xsl] Trying to understand XSLT processing|
From: Michael Schäfer <michael.schaefer@xxxxxxxxxxx>
Date: Tue, 15 Dec 2009 13:13:08 +0100
I thought there might be a difference in how "." is evaluated when the current context item is the root node vs. the document node.
So out of curiosity, I ran the original XSLT (using ".") in oXygen 11 with various engines:
- Saxon 184.108.40.206 HE + PE, 6.5.5: works - Xalan, XSLTProc : works, but outputs only the text nodes
BTW, the SOAP, env, sopa-env prefixes are set inconsistently, although this should make no difference here because only SOAP in ever used, in the input document.
That's almost certainly a namespace issue then...
FYI, I got this to work using:
<xsl:message>*****BODY CONTENTS**** <xsl:copy-of select="/*[local-name()='Envelope']/*[local-name()='Body']"/></xsl:message>