The XMLImportOptions node for wire stories appears in two flavors:
•with external XSLT
•with embedded XSLT
It contains the XsltUrl instruction that points to the xslt file (that is however supposed to be already imported in the database): <opt:XmlImportOptions wfres:activityName="importXml" xmlns:opt="http://www.teradp.com/schemas/GN4/1/XmlImportOptions.xsd" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" Trim="true" XsltUrl="self://localhost/do.ashx?cmd=config&name=xsl_WiresAFPNewsML" /> |
It contains the opt:Xslt instruction that encloses the XSLT code: <opt:XmlImportOptions wfres:activityName="importXml" xmlns:opt="http://www.teradp.com/schemas/GN4/1/XmlImportOptions.xsd" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <opt:Xslt> .... (xslt code)... </opt:Xslt> </opt:XmlImportOptions> |
Use XMLImportOption when the content to be imported is XML or plain-text.
See also