xsl-list
[Top] [All Lists]

Re: [Newbie] Approaches to debugging needed

2005-11-15 07:01:28


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
________________________________________________________________________

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



<Prev in Thread] Current Thread [Next in Thread>