Custom Selectors

You can build a selector to transform your XML format into JD Edwards EnterpriseOne native XML format. If you write a custom selector, include both request and response extensible stylesheet language transformation (XSLT) documents.

Inside the Java file, the system uses two APIs to select templates. Use the Boolean fetchTemplates API to fetch the appropriate XSLT document for the request document. Public Boolean fetchTemplates throws IXTSMTemplateSelector.TemplateFetchException, XTSXMLParseException. This sample shows how to use this API:

fetchTemplates(XTSDocument  inXML,  IXTSMSelectionInfo  info)

Use the Public void fetchTemplates to fetch the appropriate XSLT document for the response document. Public void fetchTemplates throws IXTSMTemplateSelector.TemplateFetchException.

fetchTemplates(IXTSMSelectionInfo  info)
Note: Ensure that your custom selector is accessible in the ClassPath.