XMLSampleGenerator

This transformer generates an XML document based on an XML Schema (XSD) file.While the sample document may not pass a schema validation, it will provide a generate outline of what a valid XML document looks like. The XML generated by this transformer can be used as a base for an XML template used in theXMLTemplater变压器。

In addition to generating entire XML documents, this transformer may also be used to generate small portions of an XML document. All that is required is the path to the element which is to be generated.

需要注意的是,为了防止无限递归,变压器不会产生递归复杂类型或取代基团。递归类型和取代基团将产生一次,和嵌套类型/组将不会产生。

Input Ports

产量Ports

Parameters

Schema

XML Generation

Result

Editing Transformer Parameters

使用一组菜单选项,变压器参数可以通过引用在工作区中的其它元件来分配。更先进的功能,如高级编辑,算术编辑,也是一些变压器可用。要访问这些选项的菜单,点击适用的参数旁边。欲了解更多信息,请参阅Transformer Parameter Menu Options

变压器分类

具体格式

Web

FME Licensing Level

FME Professional edition and above

Technical History

FME Factory Used: XSDSamplerFactory

Search FME Community

Search for samples and information about this transformer on theFME Community