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]
Other format: [Raw text]

Re: about impoting and applying Templates


> <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


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