I don't really understand your question (especially in
conjunction with the title of the post).
What interface are you using for writing the extension
The node will be supplied as an instance of
net.sf.saxon.om.NodeInfo, and you can use the methods on that interface to
navigate from that node to its descendants. I'm not sure why you want to do this
in an extension function, however - processing XML data using XPath/XSLT is
generally much easier than doing it in Java.
I'm trying to write a Saxon extension function that would
receive an element node as input and process the element subtree.
would be the best way to process the input element?
Can I e.g. transform
the input from SequenceIterator to a SAX event stream in order to process