xsl-list
[Top] [All Lists]

Re: Data not displaying in HTML table...generated from XML

2003-10-28 13:34:39
Bill,

You have a tiny but nasty typo.

In your source metadata file:

<metadata
  xmlns:dc="http://purl.org/dc/elements/1.1/";>

In your stylesheet:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0"
xmlns:dc="http://purl.org/dc/elements/1.1";>

Notice the small but significant trailing slash in the first declaration for xmlns:dc.

You can also remove the for-each from the template matching "metadata": it doesn't do anything.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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