XML Document Examples

In the following example, we will create an XML document template that will be used as the basis for all other XML documents created.

See Also

XML Documents

XML Document Example

Executable XML Example

Template Creation Example

  1. Select the Template Information object.

  2. Right click and select Create >Template

  3. The Entity Creation Wizard is displayed.

  4. Click on the XML Document bullet.

  5. Click on the Next button at the bottom right of the screen.

  6. In the Entity Name property, type XML_TEMPLATE as the entity name.

  7. Leave the Datasource property set to (use default), since there is only one datasource for the Xephr® install.

  8. Leave the Based On property set to (NONE), since this template will not be based off of any other template.

  9. Leave the Default Mode property set to Run Report.  This property determines the default mode for the reports created from this XML document.  

  10. In the Body Style property, select REPORT_STYLE, which was created in the Style Example section.  This property determines the default style for the XML document.

  11. In the Editable Field Style property, select REPORT_STYLE, which was created in the Style Example section. .  This property determines the default style for editable fields for the XML document.

  12. In the Non-Editable Field Style property, select REPORT_STYLE, which was created in the Style Example section.  This property determines the default style for non-editable fields for the XML document.

  13. In the Lov Style property, select DEFAULT_STYLE, which was modified in the Style Example section.  This property determines the default style for list of values activated for the XML document.

  14. In the Link Style property, select LINKS, which was created in the Link Style Example section.  This property determines the default style for links on the XML document.

  15. Click on the Finish button on the bottom right of the screen to finish creating the template.

  16. The template is created and displayed in green in the Explorer Tree.

  17. Click on the Save button in the main toolbar to save the new template.

  18. Click on the XML_TEMPLATE entity.  Verify that these settings are acceptable.  For more information on these settings, see either the Property Definitions section or the XML Document Templates section.

Xephr is a registered trademark of NDS Systems, LC.

Copyright © 2007 NDS Systems LC.