How to support returning ArrayList in ExtensionFunction Saxon HE 9.7
问题 I have a program that uses Saxon HE 9.7 for XML transformation. public String transform() throws TransformerException { TransformerFactory factory = TransformerFactory.newInstance(); TransformerFactoryImpl tFactoryImpl = (TransformerFactoryImpl) factory; Configuration saxonConfig = tFactoryImpl.getConfiguration(); Processor processor = (Processor) saxonConfig.getProcessor(); processor.registerExtensionFunction(new Employee()); Source xslt = new StreamSource(new File("mappings.xslt"));