|
Subject: Re: [xsl] How to avoid the duplicate being printed [ URGENT !!! ] From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx> Date: Mon, 4 Jun 2001 14:21:32 +0100 |
Hi Srini,
Sorry, I can't duplicate the error that you get. When I use the
following template (which is basically equivalent to yours):
<xsl:template match="Message">
<DIV onclick="getMessage(this);"
style="margin-left:36px;cursor:default;"
messageID="{@id}"
sectionID="{@sectionId}"
parentID="{@parentId}">
<xsl:value-of select="Title" />
<xsl:text> by </xsl:text>
<xsl:value-of select="Author"/>
<xsl:variable name="id" select="@id" />
<xsl:apply-templates select="../Message[@parentId=$id]"/>
</DIV>
</xsl:template>
I get:
first title by vasan
reply to first titel by vasan
re re first title by vasan
second title by vasan
rely to second title by vasan
third title by vasan
reply to third title by vasan
fourth title by vasan
reply to fourth title by vasan
fifth title by vasan
Perhaps you're applying templates to the other Message elements
somewhere other than in the templates that you gave in your message?
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] How to avoid the duplicate be, Sri ni | Thread | BladeRunner XSL support (was: Re: [, Martin Dransfield |
| Re: [xsl] XSL and White Space help , Steve Willer | Date | RE: [xsl]: How to use boolean() fun, Michael Kay |
| Month |