The Import to XML builder adds to the model a variable that contains the contents of a Java properties file or of an XML file.
The file can be specified in relative or absolute path, and its value can be loaded at execution time (by profile enabling a relative File Path
input) or at design time. The IBM® WebSphere® Portlet Factory servlet resolves any relative paths you specify from the WebSphere Portlet Factory WEB-INF
For example, you can use the Import to XML builder to add the contents of an XML file as a variable or you can use the Import to XML builder to incorporate a property file for a Web application into your model as a variable.
The Import to XML builder reads in the properties and generates a variable in the model with a corresponding format. If the file contains XML, the variable maintains the XML structure. If the file is a Java properties file, the variable has an XML structure one level deep with the properties listed under the root element named <Configuration>
. The name of the automatically created variable is the same as the Import to XML builder call name.
Parent topic: Builder Reference: wpf7
About using the builder call editor: wpf7