This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How can a template match elements created by xsl?????
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 16 May 2002 00:18:54 +0200
- Subject: Re: [xsl] How can a template match elements created by xsl?????
- References: <aa.b8784d1.2a138efd@aol.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
ChivaBaba@aol.com wrote:
> The PROBLEM occurs, when I try to process this node-set by
> a template that matches "tool". The template is ignored and
> no tool is matched!!
First, out put a xsl:copy-of of the variable to see whether
it contains the value you expected.
Second, RTFs are tricky. Check whether you have a template
matching "/". In most cases, you are better off using
select="xx:node-set($foo)/*"
rather than
select="xx:node-set($foo)"
If this still doesn't fix your problem, check whether
you have set a default namespace for the style sheet.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list