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: recursivly applying a transform to a result tree


> This I solved by using mode="tree" in the <xml:apply templates
> select="$tree" /> and the
> <xsl:templates match="b/c">.
>
> It works, but I'm not really charmed about the solution.

Generally, if different template rules apply to different tree structures,
then using modes is a good way of distinguishing which rules are supposed to
apply to which kind of tree.

This applies to using multiple input documents as much as it applies to
processing of result tree fragments.

Mike Kay
Software AG


 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]