This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: about impoting and applying Templates
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 30 Jan 2002 23:06:42 +0100
- Subject: Re: [xsl] about impoting and applying Templates
- References: <20020130212434.11545.qmail@mailweb22.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:apply-templates select="//publicCommentNodes"/>
> <xsl:apply-templates select="//commentHolder/WMSForwardMessage"/>
Here you tell the processor to handle the publicCommentNodes before the
commentHolder. Place them in one with UNION-operator:
<xsl:apply-templates select="//publicCommentNodes |
//commentHolder/WMSForwardMessage"/>
One comment to this: In general try to avoid '//', specify the path more
explicitely:
<xsl:apply-templates select="/Models/CommentContainer/publicCommentNodes |
/Models/CommentContainer/commentHolder/WMSForwardMessage"/>
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list