Is there a way to check the Result Document for a set of nodes.
Only by turning your transformation into a multi-phase one in which the
result document of the first phase becomes the input document to the second.
What I want to do is make sure that I don't add a duplicate
node to the
result document, when an earlier template may have already
added the result.
The word "earlier" gives away that you're thinking procedurally. XSLT is a
functional language, the output has to be expressed as a function of the
input, not as a function of things that happened "earlier", because there is
no defined order of execution.
If you can't express the logic as a function of the original input, then use
a multi-phase transformation.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--