This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Problem with <xsl:import> and <xsl:call-template>!
- To: Vijay Rao <rao_vij at yahoo dot com>
- Subject: Re: [xsl] Problem with <xsl:import> and <xsl:call-template>!
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Mon, 25 Jun 2001 09:18:55 +0100
- CC: XslList <XSL-List at lists dot mulberrytech dot com>
- Organization: Jeni Tennison Consulting Ltd
- References: <20010625065246.10585.qmail@web5502.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Vijay,
> Now when I just import it in another stylesheet
> (HeaderandResults.xsl)everything is fine.But if i have do some
> processing and then call the template in the Results.xsl stylesheet
> I get 2 FORMS (ie i see this as alert msg in my Javascript!)
A named template will only get processed when you call it, so the fact
that you have two forms being generated (from the named template)
implies that you're calling it twice somehow. If you post your XSLT we
might be able to work out what's making you call it twice.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list