
User’s Manual Meta Information
111
4. Version Number
5. Classification
6. Level of Importance
In this example the information is always asked and is not associated
with any specific destination. The XML DD file generates the required
messages (1 to 6) in this example.
XML DD file 1. Document Identification Number:
(Required information)
Notes:
2. Name of Document:
(Required information)
<?xml version="1.0"?>
<!DOCTYPE MetaDataFile SYSTEM "metadata.dtd">
<MetaDataFile>
<AlwaysAsk>
<MetaData Required = "yes"
Id = "DOC_ID"
Prompt = "Doc Id No:"
ErrorMessage = "Wrong Id!"
DefaultValue = "00000"
Pattern = "0-9]{5}"
/>
• The value entered by the user must match the set pattern which is, in this case,
5 digits.
• Make sure that the DefaultValue matches the Pattern in the XML DD file. The
Meta Data will be discarded if the DefaultValue and Pattern do not match.
• When the Required attribute of the Meta Data is set to yes the Administrator must
specify a pattern.
•See “Regular Expressions” on page 128 for a list of the defined expressions.
<MetaData Required = "yes"
Id = "DOC_NAME"
Prompt = "Doc Name:"
DefaultValue = "DEFAULT_NAME"
Pattern = ".+"
/>
Commenti su questo manuale