Data (for XML Form Documents)

The Data tab page of the Properties dialog for an XML Form document offers some XML forms settings.

āĻāχ āύāĻŋāĻ°ā§āĻĻ⧇āĻļāĻžāĻŦāϞ⧀āϤ⧇ āϏāĻ¨ā§āύāĻŋāĻŦ⧇āĻļ āĻ•āϰāϤ⧇...

Open context menu of a selected control on an XML Form document, choose Control Properties - Data tab.

Open Form Controls toolbar of an XML Form document, click Control icon - Data tab.


The possible settings of the Data tab page of a control depend on the respective control. You will only see the options that are available for the current control and context. The following fields are available:

XML āĻĄāĻžāϟāĻž āĻŽāĻĄā§‡āϞ

Select a model from the list of all models in the current document.

āĻŦāĻžāχāĻ¨ā§āĻĄāĻŋāĻ‚

Select or enter the name of a binding. Selecting the name of an existing binding associates the binding with the form control. Entering a new name creates a new binding and associates it with the form control.

āĻŦāĻžâ€ŒāχāĻ¨ā§āĻĄāĻŋāĻ‚ āĻāĻ•ā§āϏāĻĒā§āϰ⧇āĻļāύ

Enter the DOM node to bind the control model to. Click the ... button for a dialog to enter the XPath expression.

āĻĒā§āϰāϝāĻŧā§‹āϜāύ⧀āϝāĻŧ

Specifies if the item must be included on the XForm.

āĻĒā§āϰāĻžāϏāĻ™ā§āĻ—āĻŋāĻ•

Declares the item as relevant.

āĻļ⧁āϧ⧁āĻŽāĻžāĻ¤ā§āϰ āĻĒāĻžāĻ āϝ⧋āĻ—ā§āϝ

Declares the item as read-only.

āύāĻŋ⧟āĻŽāĻ•āĻžāύ⧁āύ

Declares the item as a constraint.

āĻšāĻŋāϏāĻžāĻŦ

Declares that the item is calculated.

āĻĄāĻžāϟāĻžāϰ āϧāϰāύ

Select a data type which the control should be validated against.

x

Select a user-defined data type and click the button to delete the user-defined data type.

+

Click the button to open a dialog where you can enter the name of a new user-defined data type. The new data type inherits all facets from the currently selected data type.

āύ⧋āϟ āφāχāĻ•āύ

The following lists all facets that are valid for data types. Some facets are only available for some data types.


āĻšā§‹ā§ŸāĻžāχāϟāĻ¸ā§āĻĒ⧇āϏ

Specifies how whitespaces are to be handled when a string of the current data type is being processed. Possible values are "Preserve", "Replace", and "Collapse". The semantics follow the definition at https://www.w3.org/TR/xmlschema-2/#rf-whiteSpace.

āĻĒā§āϝāĻžāϟāĻžāĻ°ā§āύ

Specifies a regular expression pattern. Strings validated against the data type must conform to this pattern to be valid. The XSD data type syntax for regular expressions is different from the regular expression syntax used elsewhere in LibreOffice, for example in the Find & Replace dialog.

āĻĄāĻŋāϜāĻŋāϟ (āĻŽā§‹āϟ)

Specifies the maximum total number of digits that values of the decimal data type can have.

āĻĄāĻŋāϜāĻŋāϟ (āĻ­āĻ—ā§āύāĻžāĻ‚āĻļ)

Specifies the maximum total number of fractional digits that values of the decimal data type can have.

āϏāĻ°ā§āĻŦā§‹āĻšā§āϚ (āϏāĻŽā§‡āϤ)

Specifies an inclusive upper bound for values.

āϏāĻ°ā§āĻŦā§‹āĻšā§āϚ (āĻŦāĻ°ā§āϜāĻŋāϤ)

Specifies an exclusive upper bound for values.

āϏāĻ°ā§āĻŦāύāĻŋāĻŽā§āύ (āϏāĻŽā§‡āϤ)

Specifies an inclusive lower bound for values.

āϏāĻ°ā§āĻŦāύāĻŋāĻŽā§āύ (āĻŦāĻ°ā§āϜāĻŋāϤ)

Specifies an exclusive lower bound for values.

āĻĻ⧈āĻ°ā§āĻ˜ā§āϝ

Specifies the number of characters for a string.

āĻĻ⧈āĻ°ā§āĻ˜ā§āϝ (āĻ•āĻŽāĻĒāĻ•ā§āώ⧇)

Specifies the minimum number of characters for a string.

āĻĻ⧈āĻ°ā§āĻ˜ā§āϝ (āϏāĻ°ā§āĻŦāĻžāĻĒ⧇āĻ•ā§āώāĻž)

Specifies the maximum number of characters for a string.

Please support us!