Sharp AR-AX10 (serv.man2) User Manual / Operation Manual ▷ View online
AXIS 7000
User’s Manual
Section 6: Meta Information
109
XML DD file
Here is the same XML DD file in full:
<?xml version=”1.0”?>
<!DOCTYPE MetaDataFile SYSTEM “metadata.dtd”>
<MetaDataFile>
<AlwaysAsk>
<MetaData Required = “yes”
<!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}”
Prompt = “Doc Id No:”
ErrorMessage = “Wrong Id!”
DefaultValue = “00000”
Pattern = “[0-9]{5}”
/>
<MetaData Required = “yes”
<MetaData Required = “yes”
Id = “DOC_NAME”
Prompt = ”Doc Name:”
DefaultValue = “DEFAULT_NAME”
Pattern = “.+”
Prompt = ”Doc Name:”
DefaultValue = “DEFAULT_NAME”
Pattern = “.+”
/>
<MetaData Required = “no”
<MetaData Required = “no”
Id = “DOC_ISSUER”
Prompt = “Doc Issuer:”
DefaultValue = “DEFAULT_ISSUER”
Prompt = “Doc Issuer:”
DefaultValue = “DEFAULT_ISSUER”
/>
<MetaData Required = “no”
<MetaData Required = “no”
Id = “DOC_VERSION”
Prompt = “Doc Version:”
DefaultValue = “0.0”
Prompt = “Doc Version:”
DefaultValue = “0.0”
/>
<MetaData Required = “hidden”
<MetaData Required = “hidden”
Id = “DOC_CLASS”
DefaultValue = “AXIS7000_DOC”
DefaultValue = “AXIS7000_DOC”
/>
<Output><To><Destination Description=”Archiving System”/></To>
<Format>
<![CDATA[<?xml version=”1.0”?>
<!DOCTYPE NewArchiveDocument SYSTEM “newarchivedoc.dtd”>
<NewArchiveDocument>
<DOC_ID>$DOC_ID$</DOC_ID>
<DOC_NAME>$DOC_NAME$</DOC_NAME>
<DOC_ISSUER>$DOC_ISSUER$</DOC_ISSUER>
<DOC_VERSION>$DOC_VERSION$</DOC_VERSION>
<DOC_CLASS>$DOC_CLASS$</DOC_CLASS>
<HOST>$INT_HOST_ADDRESS$</HOST>
</NewArchiveDocument>
]]>
</Format>
</Output>
</AlwaysAsk>
</MetaDataFile>
<Output><To><Destination Description=”Archiving System”/></To>
<Format>
<![CDATA[<?xml version=”1.0”?>
<!DOCTYPE NewArchiveDocument SYSTEM “newarchivedoc.dtd”>
<NewArchiveDocument>
<DOC_ID>$DOC_ID$</DOC_ID>
<DOC_NAME>$DOC_NAME$</DOC_NAME>
<DOC_ISSUER>$DOC_ISSUER$</DOC_ISSUER>
<DOC_VERSION>$DOC_VERSION$</DOC_VERSION>
<DOC_CLASS>$DOC_CLASS$</DOC_CLASS>
<HOST>$INT_HOST_ADDRESS$</HOST>
</NewArchiveDocument>
]]>
</Format>
</Output>
</AlwaysAsk>
</MetaDataFile>
Section 6: Meta Information
AXIS 7000 User’s Manual
110
Example: Invoice Handling
Invoice
The administrator wants to send the following information with the
scanned image (as specified in the “Invoice” example above):
scanned image (as specified in the “Invoice” example above):
The information is associated with the destination. When a
destination with associated Meta Information is selected the user will
be prompted to enter the requested information. The XML DD file
generates the required messages (1 to 3) in this example.
destination with associated Meta Information is selected the user will
be prompted to enter the requested information. The XML DD file
generates the required messages (1 to 3) in this example.
1. Invoice Number
2. Date of Payment
3. Name of Orderer
In this example the information is associated with the “Accounts” or
“Orderer” destination. The XML DD file generates the required
display messages (1 to 5) in this example.
“Orderer” destination. The XML DD file generates the required
display messages (1 to 5) in this example.
XML DD file
1. Invoice number:
(Required Information)
<?xml version=”1.0”?>
<!DOCTYPE MetaDataFile SYSTEM “metadata.dtd”>
<MetaDataFile>
<Ask><When><Destination Description= “Accounts”/>
<Destination description=”Orderers”/></When>
<MetaData Required=”yes”
Id=”INVOICE_NO”
Prompt=”Invoice No:”
ErrorMessage= “Wrong No!”
DefaultValue= “00000”
Pattern= “[0-9]{5}”
/>
AXIS 7000
User’s Manual
Section 6: Meta Information
111
2. Date of Payment:
(Required Information)
3. Name of Orderer:
(Required Information)
We want the user to enter a name so the pattern is created to match
a non empty string.
We want the user to enter a name so the pattern is created to match
a non empty string.
4. Close the elements.
Information File
The destination selected by the user will receive the image and the
Information File. The Information File will contain the following
Meta Information.
Information File. The Information File will contain the following
Meta Information.
<MetaData Required=”yes”
Id=”DUE_DATE”
Prompt=”Due Date:”
ErrorMessage= “Date: DD/MM/YYYY!”
Pattern= “[0-9]{2}/[0-9]{2}/[0-9]{4}”
/>
<MetaData Required=”yes”
Id=”ORDERER”
Prompt=”Orderer name:”
Pattern= “.+”
/>
</Ask>
</MetaDataFile>
[MetaData]
INVOICE_NO = 12345
DUE_DATE = 05/05/2000
ORDERER = Name
INVOICE_NO = 12345
DUE_DATE = 05/05/2000
ORDERER = Name
Section 6: Meta Information
AXIS 7000 User’s Manual
112
XML DD file
Here is the same XML DD file in full:
Entering the Required
Meta Information
Invoice Handling
The user selects the Orderer or Accounts destination:
The Meta Information in this example is associated with these
destinations and the following messages will be displayed:
1. The user is requested to enter the number of the invoice and press
destinations and the following messages will be displayed:
1. The user is requested to enter the number of the invoice and press
Enter.
If the entered value is incorrect according to the pattern the
following display will be shown for two seconds before returning
to the previous prompt.
following display will be shown for two seconds before returning
to the previous prompt.
<?xml version = “1.0”?>
<!DOCTYPE MetaDataFile SYSTEM “metadata.dtd”>
<MetaDataFile>
<Ask><When><Destination Description = “Accounts”/>
<Destination Description=”Orderers”/></When>
<MetaData Required = ”yes”
<!DOCTYPE MetaDataFile SYSTEM “metadata.dtd”>
<MetaDataFile>
<Ask><When><Destination Description = “Accounts”/>
<Destination Description=”Orderers”/></When>
<MetaData Required = ”yes”
Id = ”INVOICE_No”
Prompt = ”Invoice No:”
ErrorMessage = “Wrong No!”
DefaultValue = “00000”
Pattern = “[0-9]{5}”
Prompt = ”Invoice No:”
ErrorMessage = “Wrong No!”
DefaultValue = “00000”
Pattern = “[0-9]{5}”
/>
<MetaData Required = ”yes”
<MetaData Required = ”yes”
Id = ”DUE_DATE”
Prompt = ”Due Date:”
ErrorMessage = “Date: DD/MM/YY!”
Pattern = “[0-9]{2}/[0-9]{2}/[0-9]{2}”
Prompt = ”Due Date:”
ErrorMessage = “Date: DD/MM/YY!”
Pattern = “[0-9]{2}/[0-9]{2}/[0-9]{2}”
/>
<MetaData Required = ”yes”
<MetaData Required = ”yes”
Id = ”ORDERER”
Prompt = ”Orderer name:”
Pattern = “.+”
Prompt = ”Orderer name:”
Pattern = “.+”
/>
</Ask>
</MetaDataFile>
</Ask>
</MetaDataFile>
Send to:
Accounts
Accounts
Invoice No:
*
Wrong No!
abcdef
abcdef
Click on the first or last page to see other AR-AX10 (serv.man2) service manuals if exist.