Package net.sf.saxon.stax

Examples of net.sf.saxon.stax.XMLStreamWriterDestination


        XdmNode document = parseXmlDocument(stream);
        LOG.trace("XSLT input document: {}", document);
        XsltTransformer evaluator = fragment.transformer;
        evaluator.setInitialContextNode(document);
        XMLStreamWriter morphlineWriter = new MorphlineXMLStreamWriter(getChild(), outputRecord);
        evaluator.setDestination(new XMLStreamWriterDestination(morphlineWriter));
        evaluator.transform(); //  run the query and push into child via RecordXMLStreamWriter
      }     
      return true;
    }
View Full Code Here

TOP

Related Classes of net.sf.saxon.stax.XMLStreamWriterDestination

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.