Data Conversion Reference

This chapter provides a discussion about an overview of the data conversion namespace, and its elements and attributes.

1. Overview

Provides an overview of the data conversion namespace.

1.1. Features and Usage

The namespace is used to convert data during cut and paste or drag and drop.

1.2. Namespace URI Reference

The namespace URI reference for data conversion is located at http://xmlns.xfytec.com/data-transfer. In the descriptions below, we use the namespace prefix dtf: for an element used in data conversion.

Also, we use the following namespaces and their prefixes in the descriptions below.

  • VC Core
    We use xvcd: as the namespace prefix. For more information, see the VC Core Reference.
  • Platform Events
    We use event: as the namespace prefix. For more information, see the Platform Event Reference.

2. Elements and Attributes Defined in the Namespace for Data Conversion

The data conversion element is used in the following command instruction:

The elements can also be referred to during the following events:

And if necessary, the element can be used in the following command instruction:

The following section provides a discussion of elements and attributes defined in data conversion namespace.

2.1. Data Conversion

The elements and attributes for the data conversion feature are listed below.

dtf:string Element

Describes the data that is pasted when text data is intended for cut and paste.

Attribute:

No attributes for the element.

Content:

Within dtf:string element, describes the data for cut and paste or drag and drop using string.

dtf:fragment Element

Describes the data that is pasted when XML document fragment is intended for cut and paste.

Attribute:
independent

It can be yes or no. If it is yes, it represents a fully independent fragment of vocabulary. If it is no, it represents a partial fragment of vocabulary.

A fully independent fragment is comprised as the target vocabulary of the document only with the contents included in the fragment. A partial fragment is not formed itself as the target vocabulary of the document.

For example, in the case of SVG, a fragment that has svg element as the vertex is comprised as an SVG document. Therefore, it can be a fully independent fragment. On the other hand, a fragment that has circle element as the vertex is not comprised as an SVG document. It is a partial fragment.

If omitted, it is treated as no.

Content:

Within the dtf:fragment element, describes the data for cut and paste or drag and drop using an XML document fragment.

3. Compensation of Data Conversion

Specifies the XML document fragment of the data name conversion namespace to the data for cut and paste or drag and drop. If an XML document fragment that is not a data conversion namespace is specified as the target, it is compensated according to the following ways:

  1. Creating a drf:fragment element that contains the specified XML document fragment.
  2. Creating a drt:string element that contains only the combined text nodes included in the specified XML document fragment.
  3. Specifies the fragment that has the two created elements as the XML document fragment for cut and paste or drag and drop.