
Meta Information
AXIS 7100 User’s Manual
112
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 134 for a list of the defined
expressions.
<MetaData Required = "yes"
Id = "DOC_NAME"
Prompt = "Doc Name:"
DefaultValue = "DEFAULT_NAME"
Pattern = ".+"
/>