Hi, Kai,
As other folks have observed, you also have a namespace problem. I missed
that because I was just skimming rather than reading closely. Roman
Huditsch showed the way out of that problem in his posting on this thread.
Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)
"Kai Hackemesser" <kaha(_at_)gmx(_dot_)de>
11/03/2005 10:30 AM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc
Subject
Re: [xsl] access the root element
Hi Jay,
You can change
<xsl:template match="/">
to
<xsl:template match="Metrics">
It doesn't get called. I debugged it with oXygen, it isn't accessed.
You can change
<xsl:value-of select="@date"/>
to
<xsl:value-of select="Metrics/@date"/>
Same as in other tries. It's always an empty nodeset in debugger.
Oh, and you've invented a new word with "desparating" - I kinda like
that
one.
*blush* desperating :-) I have seen the error in the second I hit the send
button...
--~------------------------------------------------------------------
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>
--~--