Re: [xsl] access the root element

Subject: Re: [xsl] access the root element
From: JBryant@xxxxxxxxx
Date: Thu, 3 Nov 2005 09:57:30 -0600
Hi, Kai,

You've fallen into a very common misunderstanding. / gets the root node, 
but Metrics is not the root node. Metrics is the first (and only) child of 
the root node.

So, to fix your problem, you have a couple choices:

You can change
<xsl:template match="/">
<xsl:template match="Metrics">


You can change
<xsl:value-of select="@date"/>
<xsl:value-of select="Metrics/@date"/>
(and do the same for all similar values).

Oh, and you've invented a new word with "desparating" - I kinda like that 


Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

Current Thread