Re: [xsl] XSL new user question: no output from a simple XSLT

Subject: Re: [xsl] XSL new user question: no output from a simple XSLT
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 19 Sep 2007 11:51:25 -0400
At 10:36 AM 9/19/2007, Ken wrote:
<xsl:apply-templates select="/Subject_Area"/>

You are pushing nodes in no namespace. (BTW, you don't need the leading slash)

Also, neither "Subject_Area" nor "/Subject_Area", even when the namespace is accounted for, will select nodes in the OP's given input.


He should probably try <xsl:apply-templates/> by itself and just enable the default traversal (moving through the tree from parents to children).

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
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
======================================================================

Current Thread