Iterators, Enumerations and Arrays

"Mark R. Diggory" <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
I'm trying to write an extension for Java XSLT Engines (primarily Saxon 
and Xalan) in have a java class which I access using the generic "java:" 
namespace, I need to iterate over both an Enumeration and an Array to 
produce a node-set. I'd like to do this without having to directly use 
any classes of Xalan or Saxon.

Is there a way I can either produce a nodeset in my java class? Or is it 
possible to pass back a org.w3c.Node and have it used to produce a nodeset?

Or can I somehow iterate over the array or Enumeration inside my 
<func:function...> elements?

thanks
Mark

-- 
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.