Re: [xsl] [Newbie] Approaches to debugging needed

Subject: Re: [xsl] [Newbie] Approaches to debugging needed
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 15 Nov 2005 14:01:28 GMT
at the top of your stylesheet you do


<xsl:for-each select="wiki:Wiki">
...

But your source has no matching wiki:Wiki element so the content of the
for-each is not executed.

In your stylesheet wiki: is defined by

  xmlns:wiki    = "http://downlode.org/rdf/wiki/0.1/";

but your source has no elements in that namespace.

It has an element wiki:Wiki but in the source wiki: is defined by
  xmlns:wiki = "http://downlode.org/rdf/wiki/schema#";

so this is a completely different namespace, which just happens to be
using the same prefix wiki (but prefixes play no part in XSLT pattern
matching)

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