VX-S-12
VX-S-12 XML data binding
Using XML data for VSPX data-binding
Preliminaries
Usually data-bound controls as data-list, data-set etc. are using a relational data (from tables, local or remote). But in some cases data is available as XML, which is most convenient to use as such instead of filling and using an intermediate table as data source. For this cases VSPX components (which allows data-binding) supports special set of attributes (see documentation for details). With these attributes it is possible to bind XML data to the control's value, row-set etc.
Repeatable content based on XML data
The following approaches are demonstrated:
- Binding a XML data to VSPX components, instead of using relational data
- Using XML manipulation routines to insert update or delete XML data.
In details example itself shows:
- Filling a select list from XML document
- Filling a repeatable control (data-set) with XML data.
- Custom ordering functionality in repeatable control, using XML manipulation routines.
| View the source | Action |
|---|---|
| 1. vx_s_12.sql | Set the initial state |
| 2. vx_s_12_sample.vspx | Run |
OpenLink Home
Technical Support