Portlet Factory, Version 6.1.2
Displaying the contents of an XML variable
To create a "View Only" form that displays the contents of an XML variable...
- Create a new "Main and Page" model.
- Create an XML variable with the data to display.
- Generate a schema by adding a Simple Schema Generator builder call to the model.
Set Modify Variable to true, to declare your original variable as being of the type defined by the new schema.
- Add a Data Page builder call to the model.
- Set Page to page1.
- Set Variable to the one you created in step 2.
- Set Page Type to View Only.
- Leave Create Tags from Schema enabled.
- Set Location for new tags to namedTag.
- Set Add HTML Element Names to Add Names.
- Run the model.
Parent topic: Example: simple forms