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 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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] access the root element, Kai Hackemesser | Thread | Re: [xsl] access the root element, JBryant |
Re: [xsl] access the root element, Kai Hackemesser | Date | Re: AW: [xsl] access the root eleme, Kai Hackemesser |
Month |