Portlet Factory, Version 6.1.2

 

Displaying the contents of an XML variable

 

+

Search Tips   |   Advanced Search

 

To create a "View Only" form that displays the contents of an XML variable...

  1. Create a new "Main and Page" model.

  2. Create an XML variable with the data to display.

  3. 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.

  4. Add a Data Page builder call to the model.

    1. Set Page to page1.

    2. Set Variable to the one you created in step 2.

    3. Set Page Type to View Only.

    4. Leave Create Tags from Schema enabled.

    5. Set Location for new tags to namedTag.

    6. Set Add HTML Element Names to Add Names.

  5. Run the model.

Parent topic: Example: simple forms