XML Profile Editor

Overview

Profiles are the foundation of Caristix software. Profiles are another word for interface specifications, specs, or conformance profiles. They capture the data formats and code sets needed for exchanging information between systems. The profiles you develop with Caristix software can be used to:

  • Scope and document the systems in an interface: the core function of a profile.
  • Validate an interface: use a profile to execute tests.
  • Update documentation.
  • Query your messages based on that profile.
  • De-identify messages based on that profile.

XML Profile Editor in Workgroup works as follows:

XML Profile Editor Overview

 

 

Edit Profile’s Structure

The Profile Structure tab describes the schema that your XML documents should have in order to be valid.

 

Edit Selected Element’s Definition

The Definition tab describes each of an element’s properties.

Name: Specifies a name for the element. This attribute is required if the parent element is the schema element.
Type: Optional. Specifies either the name of a built-in data type, or the name of a simpleType or complexType element.
Min Occurs: Optional. Specifies the minimum number of times this element can occur in the parent element. The value can be any number >= 0. Default value is 1. This attribute cannot be used if the parent element is the schema element.
Max Occurs: Optional. Specifies the maximum number of times this element can occur in the parent element. The value can be any number >= 0, or if you want to set no limit on the maximum number, use the value “unbounded”. Default value is 1. This attribute cannot be used if the parent element is the schema element.
Default: Optional. Specifies a default value for the element (can only be used if the element’s content is a simple type or text only).
Fixed: Optional. Specifies a fixed value for the element (can only be used if the element’s content is a simple type or text only).
Description: Optional. Describes the element in natural language.

 

Edit Selected Element’s Attributes

The Attributes tab describes an element’s attributes.

SOURCE: Specifies the attribute’s owner.
ID: Specifies a unique ID for the attribute.
TYPE: Optional. Specifies a built-in data type or a simple type. The type attribute can only be present when the content does not contain a simpleType element.
USE: Optional. Specifies how the attribute is used. Can be one of the following values:

  • optional – the attribute is optional (this is default)
  • prohibited – the attribute cannot be used
  • required – the attribute is required
DEFAULT: Optional. Specifies a default value for the attribute. Default and fixed attributes cannot both be present.
FIXED: Optional. Specifies a fixed value for the attribute. Default and fixed attributes cannot both be present.
DESCRIPTION: Optional. Describes the attribute in a natural language.
RESTRICTED VALUES: Optional. Restrictions are used to define acceptable values for XML attributes.

 

Types and Schematrons

From the Actions menu, you’ll have access to: