Re: [xsl] access the root element

Subject: Re: [xsl] access the root element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 3 Nov 2005 16:35:29 GMT
> > <xsl:template match="Metrics">
> It doesn't get called. I debugged it with oXygen, it isn't accessed.

You don't have an element of that name (Metrics in no-namespace) in your
source document, so this template never matches. declare a prefix
for then use
<xsl:template match="m:Metrics">
so that it matches elements with name (Metrics in the namespace


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread