CAM Template: CIQ-V3-template.cam

C:/Documents%20and%20Settings/dwebber/My%20Documents/CAM/EDXL/new%20xslt/latest

Owner To be Completed
Version 0.1
Description Generated for : Record
Date 2008-05-26T15:30:51

Assembly Structures

Structure

ID: Record

Taxonomy: XML

XPath locator
Rule(s)
Annotation
Record
datatype(anyAttribute)
  
Definition
This is a generic contianer to combine name and address. Any cardinality of names and addresses is permitted.
  
  @RecordID
makeOptional()
  
Definition
A unique identifier of a record
  
  @RecordIDType
makeOptional()
  
Definition
Type of Record ID
  
  @Status
makeOptional()
  
Definition
Status of the entity. e.g. Old, Current, Inactive, Active, etc
  
  @RecordKey
makeOptional()
  
Definition
Primary key for referencing record
  
  @RecordKeyRef
makeOptional()
  
Definition
Foreign key to reference record
  
  @DateValidFrom
makeOptional()
if string-length(//Record/@DateValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//Record/@DateValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be start date, issue date, validity start date, etc
  
  @DateValidTo
makeOptional()
if string-length(//Record/@DateValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//Record/@DateValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be end date, expiry date, validity end date, etc
  
  @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
  @ValidFrom
makeOptional()
if string-length(//Record/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//Record/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
  @ValidTo
makeOptional()
if string-length(//Record/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//Record/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
  @LanguageCode
makeOptional()
datatype(language)
  
Definition
Human Language used. e.g. "en", "en-US", "en-AUS", etc
  
  xnl:PartyName
makeRepeatable()
datatype(anyAttribute)
  
Definition
Container for defining a name of a Person, an Organisation or combination of the above as a joint name.
  
    @PartyNameID
makeOptional()
  
Definition
A unique identifier of a party
  
    @PartyNameIDType
makeOptional()
  
Definition
Type of Party Name ID
  
    @ID
makeOptional()
  
Definition
Globally unique identifier
  
    @Usage
makeOptional()
  
Definition
Tye of use of this data. e.g. data exchange, contact, update, create
  
    @Status
makeOptional()
  
Definition
Status of the entity. e.g. Old, Current, Inactive, Active, etc
  
    @JointNameConnector
makeOptional()
  
Definition
The connector used to join more than one person name. Example: Mr Hunt AND Mrs Clark, where AND is the JointNameConnector. The flow is from the preceding to the following. If there is more than 2 names then all names are connected using this connector in the natural order.
  
    @xlink:type
makeMandatory()
  
Definition
Enumeration of values for the type attribute
  
    @xlink:label
makeOptional()
datatype(NCName)
  
  
    @xlink:href
makeOptional()
datatype(anyURI)
  
  
    @DateValidFrom
makeOptional()
if string-length(//xnl:PartyName/@DateValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PartyName/@DateValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be start date, issue date, validity start date, etc
  
    @DateValidTo
makeOptional()
if string-length(//xnl:PartyName/@DateValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PartyName/@DateValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be end date, expiry date, validity end date, etc
  
    @NameKey
makeMandatory()
  
Definition
A primary key to reference Party Name.
  
    @NameKeyRef
makeMandatory()
  
Definition
A foreign key to reference attribute Key of Party Name.
  
    @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
    @ValidFrom
makeOptional()
if string-length(//xnl:PartyName/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PartyName/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
    @ValidTo
makeOptional()
if string-length(//xnl:PartyName/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PartyName/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
    @LanguageCode
makeOptional()
datatype(language)
  
Definition
Human Language used. e.g. "en", "en-US", "en-AUS", etc
  
    xnl:NameLine
makeRepeatable()
makeOptional()
datatype(normalizedString)
datatype(anyAttribute)
  
Definition
Define name as a free format text. Use this when the type of the entity (person or organisation) is unknown, or is not broken down into individual elements (e.g. unstructured, unparsed) or is beyond the provided types. The name represented may be formatted in the right order or may not be as it is not parsed/broken into atomic fields
  
      @Type
makeOptional()
  
Definition
Enumerated list of type of name. example: Alias, Nick Name, former name, known as, etc
  
      @Abbreviation
makeOptional()
restrictValues('true'|'false')
  
Definition
If set to true then indicates that the value is an abbreviation or initial. If set to false then the value is definitely not an abbreviation. If omitted then it is not known if the value is an abbreviation or not.
  
      @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
      @ValidFrom
makeOptional()
if string-length(//xnl:NameLine/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:NameLine/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
      @ValidTo
makeOptional()
if string-length(//xnl:NameLine/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:NameLine/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
    xnl:PersonName
makeRepeatable()
makeOptional()
datatype(anyAttribute)
  
Definition
Container for person name details. Same person with many types (e.g. alias, pet name, nick name) of names can be used by this container.
  
      @Type
makeOptional()
restrictValues('Alias' |'LegalName' |'KnownAs' |'MaidenName' |'FormerName' |'CommonUse' |'NameAtBirth' |'PreferredName' |'OfficialName' |'UnofficialName' |'NickName' |'PetName')

Alias - Name of an individual before marriage. | LegalName - Former name of the person | KnownAs - Name that is commonly used by others, e.g. a simplified form of the official name. | MaidenName - A name given to an individual at birth, but later changed (common in some cultures) | FormerName - Indicates that the party prefers to be called by this name | CommonUse - An official name of the person, e.g. as in the passport. incorporation certificate, etc. |

  
Definition
Enumerated list of type of name. example: Alias, Nick Name, former name, known as, etc
  
      @PersonID
makeOptional()
  
Definition
A unique identifier of a person
  
      @PersonIDType
makeOptional()
  
Definition
Type of identifier
  
      @ID
makeOptional()
  
Definition
Globally unique identifier
  
      @Usage
makeOptional()
  
Definition
Tye of use of this data. e.g. data exchange, contact, update, create
  
      @Status
makeOptional()
  
Definition
Status of the entity. e.g. Old, Current, Inactive, Active, etc
  
      @xlink:type
makeMandatory()
  
Definition
Enumeration of values for the type attribute
  
      @xlink:label
makeOptional()
datatype(NCName)
  
  
      @xlink:href
makeOptional()
datatype(anyURI)
  
  
      @DateValidFrom
makeOptional()
if string-length(//xnl:PersonName/@DateValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PersonName/@DateValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be start date, issue date, validity start date, etc
  
      @DateValidTo
makeOptional()
if string-length(//xnl:PersonName/@DateValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PersonName/@DateValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be end date, expiry date, validity end date, etc
  
      @NameKey
makeMandatory()
  
Definition
A primary key to reference Party Name.
  
      @NameKeyRef
makeMandatory()
  
Definition
A foreign key to reference attribute Key of Party Name.
  
      @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
      @ValidFrom
makeOptional()
if string-length(//xnl:PersonName/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PersonName/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
      @ValidTo
makeOptional()
if string-length(//xnl:PersonName/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:PersonName/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
      @LanguageCode
makeOptional()
datatype(language)
  
Definition
Human Language used. e.g. "en", "en-US", "en-AUS", etc
  
      xnl:NameElement
makeRepeatable()
makeOptional()
datatype(normalizedString)
datatype(anyAttribute)
  
Definition
Name or part of a name.
  
        @ElementType
restrictValues('PrecedingTitle' |'Title' |'FirstName' |'MiddleName' |'LastName' |'OtherName' |'Alias' |'GenerationIdentifier' |'Degree')

PrecedingTitle - His Excellency, Honorable, etc. | Title - A title signifies some sort of status, such as Mr, Miss, Ms (marriage status), or education such as Professor, PhD, Dr, etc. | FirstName - The most important name element by which this particular individual is identified in the group. E.g. John, Sam, Brian for Anglo-Saxon cultures. | MiddleName - Name elements related to additional identification of the individual, such as names are parents or places. | LastName - Name element that identifies the group the individual belongs to and is identified by, such as Last Name, Surname, Family Name, etc. | OtherName - Any other additional names that are not directly used to identify or call the individual, such as names of ancestors, saints, etc. | Alias - A simple nick name that is commonly used as part of the name. E.g. a fancy kick-boxer can be commonly known as Bill "Storm" Bababoons, where "Storm" is obviously an alias. | GenerationIdentifier - Junior, Senior, The Second, IV, etc. |

makeOptional()
  
Definition
Clarifies the meaning of the element.Could be first name, middle name, etc. that is defined in the List list. Omit this attribute if the type of the name element is not known.
  
        @Abbreviation
makeOptional()
restrictValues('true'|'false')
  
Definition
If set to true then indicates that the value is an abbreviation or initial. If set to false then the value is definitely not an abbreviation. If omitted then it is not known if the value is an abbreviation or not.
  
    xnl:OrganisationName
makeRepeatable()
makeOptional()
datatype(anyAttribute)
  
Definition
A container for organisation name details. Same organisaion with many types of names can be used by this container
  
      @Type
makeOptional()
restrictValues('LegalName' |'FormerName' |'CommonUse' |'PublishingName' |'OfficialName' |'UnofficialName' |'Undefined')

LegalName - Former name of the organisation | FormerName - unknown |

  
Definition
Enumerated list of type of name. example: Alias, Nick Name, former name, known as, etc
  
      @OrganisationID
makeOptional()
  
Definition
A unique identifier of an organisation
  
      @OrganisationIDType
makeOptional()
  
Definition
Type of identifier
  
      @ID
makeOptional()
  
Definition
Globally unique identifier
  
      @Usage
makeOptional()
  
Definition
Tye of use of this data. e.g. data exchange, contact, update, create
  
      @Status
makeOptional()
  
Definition
Status of the entity. e.g. Old, Current, Inactive, Active, etc
  
      @xlink:type
makeMandatory()
  
Definition
Enumeration of values for the type attribute
  
      @xlink:label
makeOptional()
datatype(NCName)
  
  
      @xlink:href
makeOptional()
datatype(anyURI)
  
  
      @DateValidFrom
makeOptional()
if string-length(//xnl:OrganisationName/@DateValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:OrganisationName/@DateValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be start date, issue date, validity start date, etc
  
      @DateValidTo
makeOptional()
if string-length(//xnl:OrganisationName/@DateValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:OrganisationName/@DateValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be end date, expiry date, validity end date, etc
  
      @NameKey
makeMandatory()
  
Definition
A primary key to reference Party Name.
  
      @NameKeyRef
makeMandatory()
  
Definition
A foreign key to reference attribute Key of Party Name.
  
      @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
      @ValidFrom
makeOptional()
if string-length(//xnl:OrganisationName/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:OrganisationName/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
      @ValidTo
makeOptional()
if string-length(//xnl:OrganisationName/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xnl:OrganisationName/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
      @LanguageCode
makeOptional()
datatype(language)
  
Definition
Human Language used. e.g. "en", "en-US", "en-AUS", etc
  
      xnl:NameElement
makeRepeatable()
makeOptional()
datatype(normalizedString)
datatype(anyAttribute)
  
Definition
Name or part of a name.
  
        @ElementType
makeOptional()
restrictValues('NameOnly' |'TypeOnly' |'FullName')

NameOnly - "Sakthisoft" in "Sakthisoft Pty. Ltd". "Pty.Ltd" is the legal entity for the organisation name "Sakthisoft" | TypeOnly - "Pty. Ltd" in Sakthisoft Pty.Ltd, where "Sakthisoft" is the name of the organisation. ""Inc" in ABC Inc, where "ABC" is organisation name | FullName - Full Name of the organisation. e.g. Sakthisoft Pty. Ltd |

  
Definition
Clarifies the meaning of the element.Could be first name, middle name, etc. that is defined in the List list. Omit this attribute if the type of the name element is not known.
  
        @Abbreviation
makeOptional()
restrictValues('true'|'false')
  
Definition
If set to true then indicates that the value is an abbreviation or initial. If set to false then the value is definitely not an abbreviation. If omitted then it is not known if the value is an abbreviation or not.
  
      xnl:SubDivisionName
makeRepeatable()
makeOptional()
datatype(normalizedString)
datatype(anyAttribute)
  
Definition
Name of a subdivision of an organisation (e.g. department)
  
        @Type
makeOptional()
restrictValues('Department' |'Division' |'Branch' |'BusinessUnit' |'School' |'Section')
  
Definition
Enumerated list of type of name. example: Alias, Nick Name, former name, known as, etc
  
        @Abbreviation
makeOptional()
restrictValues('true'|'false')
  
Definition
If set to true then indicates that the value is an abbreviation or initial. If set to false then the value is definitely not an abbreviation. If omitted then it is not known if the value is an abbreviation or not.
  
  xal:Address
makeRepeatable()
datatype(anyAttribute)
  
Definition
Top level element for address with geocode details
  
    @Type
makeOptional()
restrictValues('Airport' |'Business' |'CaravanPark' |'CommercialPark' |'CommunityDevelopment' |'EducationalInstitution' |'Entertainment' |'Hospital' |'Location' |'Marina' |'MilitaryBase' |'OverseasMilitary' |'Port' |'Primary' |'RecreationalPark' |'Resort' |'RetirementVillage' |'Rural' |'Secondary' |'ShoppingCentre' |'SportingCentre' |'Urban')
  
Definition
Enumerated list of type of name. example: Alias, Nick Name, former name, known as, etc
  
    @AddressID
makeOptional()
  
Definition
A unique address identifier such as postal delivery idetifier assigned to the address by local postal authority, e.g. DPID in Australia.
  
    @AddressIDType
makeOptional()
  
Definition
Type of address ID used. e.g. DPID, etc
  
    @ID
makeOptional()
  
Definition
Globally unique identifier
  
    @Usage
makeOptional()
restrictValues('Business' |'Billing' |'Communication' |'Contact' |'Mailing' |'Personal' |'Postal' |'Residential')
  
Definition
Tye of use of this data. e.g. data exchange, contact, update, create
  
    @DeliveryMode
makeOptional()
  
Definition
Mode of delivery of address. For example: rural route, normal delivery, post office box, etc.
  
    @Status
makeOptional()
  
Definition
Status of the entity. e.g. Old, Current, Inactive, Active, etc
  
    @AddressKey
makeOptional()
  
Definition
A primary key to reference Address.
  
    @AddressKeyRef
makeOptional()
  
Definition
A foreign key to reference attribute Key of Address.
  
    @xlink:type
makeMandatory()
  
Definition
Enumeration of values for the type attribute
  
    @xlink:label
makeOptional()
datatype(NCName)
  
  
    @xlink:href
makeOptional()
datatype(anyURI)
  
  
    @DateValidFrom
makeOptional()
if string-length(//xal:Address/@DateValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:Address/@DateValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be start date, issue date, validity start date, etc
  
    @DateValidTo
makeOptional()
if string-length(//xal:Address/@DateValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:Address/@DateValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Could be end date, expiry date, validity end date, etc
  
    @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
    @ValidFrom
makeOptional()
if string-length(//xal:Address/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:Address/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
    @ValidTo
makeOptional()
if string-length(//xal:Address/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:Address/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
    @LanguageCode
makeOptional()
datatype(language)
  
Definition
Human Language used. e.g. "en", "en-US", "en-AUS", etc
  
    xal:FreeTextAddress
makeOptional()
datatype(anyAttribute)
  
Definition
Container for free text address elements where address elements are not parsed
  
      @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
      @ValidFrom
makeOptional()
if string-length(//xal:FreeTextAddress/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:FreeTextAddress/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
      @ValidTo
makeOptional()
if string-length(//xal:FreeTextAddress/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:FreeTextAddress/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
      xal:AddressLine
makeRepeatable()
datatype(normalizedString)
datatype(anyAttribute)
  
Definition
Free format address representation. An address can have more than one line. The order of the AddressLine elements must be preserved.
  
        @Type
makeOptional()
  
Definition
Enumerated list of type of name. example: Alias, Nick Name, former name, known as, etc
  
        @DataQualityType
makeOptional()
restrictValues('Valid' |'Invalid')

Valid - The data was validated and is considered to be true and correct. | Invalid - Indicates that at least some part of the content is known to be incorrect. |

  
Definition
This attribute indicates what level of trust can be given to the parent element. Omit this attribute if the data quality is unknown. If the data quality is known, the value is "Valid, else "InValid"
  
        @ValidFrom
makeOptional()
if string-length(//xal:AddressLine/@ValidFrom) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:AddressLine/@ValidFrom) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid from
  
        @ValidTo
makeOptional()
if string-length(//xal:AddressLine/@ValidTo) <26

then
setDateMask(YYYY-MM-DD'T'HH:MI:SSZ)
end if;
if string-length(//xal:AddressLine/@ValidTo) >25

then
setDateMask(YYYY-MM-DD'T'HH:MI:SS.SZ)
end if;
  
Definition
Date the data quality is valid to
  
    xal:Country
makeOptional()
datatype(anyAttribute)
  
Definition
Country details
  
      xal:NameElement
makeRepeatable()
datatype(normalizedString)
datatype(anyAttribute)
datatype(normalizedString)
  
Definition
Name or part of a name.
  
        @NameType
restrictValues('Name' |'Type')

Name - Name of the country e.g. AUSTRALIA | Type - Although a Country, could be classified as a territory of a country