Uniface-Compliant Attribute Declarations
Uniface supports a subset of the attribute declarations that are available in the XML standard, namely declarations for attributes for processing information, and declarations for namespaces.
You can use the following attribute declarations in your DTDs:
<!ATTLIST
EntityElementid
CDATA #REQUIRED>
<!ATTLIST
EntityElementcrc
CDATA #REQUIRED>
<!ATTLIST
EntityElementstatus
CDATA #REQUIRED>
<!ATTLIST
EntityElementvalerr CDATA #IMPLIED>
<!ATTLIST
FieldElementvalerr CDATA #IMPLIED>
<!ATTLIST
ElementName AttributeName "AttributeValue"#FIXED>
- EntityElement—name of an element mapped to a Uniface entity
- FieldElement—name of an element mapped to a Uniface field
- ElementName—EntityElement or FieldElement
- AttributeName—name of the attribute
- AttributeValue—value of the attribute
Use #FIXED
attributes to declare namespaces for your XML element names.
XML Standard Syntax
For comparison purposes, see the syntax for attribute declarations in XML Attribute Declaration.
The XML standard also allows an alternative syntax for attribute declarations, whereby
all attributes are declared for an element in one <!ATTLIST>
declaration.
This syntax is not supported for Uniface XML streams.