This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with <xsl:import> and <xsl:call-template>!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]