xsl-list
[Top] [All Lists]

Re: access the root element

2005-11-03 09:35:29

<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 http://metrics.sourceforge.net/2003/Metrics-First-Flat then use
<xsl:template match="m:Metrics">
so that it matches elements with name (Metrics in the namespace
http://metrics.sourceforge.net/2003/Metrics-First-Flat)

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--