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: Equivalent of a Global Counter


> Does a two-pass transformation involve having on stylesheets 
> applied to the
> XMLSource and another stylesheet applied to the resultant XML 
> Document? Or
> can it be encapsulated in the same stylesheet?

You can do it either way. If it's within a single stylesheet, you need to
capture the result of phase 1 in a result tree fragment, convert this to a
node-set using the node-set() extension function, and then apply the second
pass to this node-set.

Mike Kay


 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]