Transforming Data Using the XQuery Mapper

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

XQuery Mapper Overview

This section provides a brief introduction to BEA XQuery Mapper. It provides an overview of data transformation and XQuery mapper concepts.

This section includes the following topics:


Data Transformation

XQuery Mapper provides a graphical environment for data transformation. Data is transformed from one format to another and the resulting output is a query. The query is written in the XQuery language, which is defined by the World Wide Web Consortium (W3C). For more information about the W3C and the XQuery language, see


BEA XQuery Mapper

XQuery Mapper is a plug-in within the Eclipse development environment. Therefore, to use XQuery Mapper, Eclipse must be installed and launched. Eclipse and XQuery Mapper are provided as part of the product installation. For information about starting XQuery Mapper, see Launching XQuery Mapper.

Using XQuery Mapper, XML, non-XML, and Java Simple data types can be transformed from one format to another. For example, XML that is valid against one schema can be converted to XML that is valid against a different schema. The source and target data of a transformation can be XML, non-XML, or Simple data type. The data format files can be .xsd (XML Schema), .wsdl (Web Service Definition Language), or .mfl (Message Format Language) files. All these files can be Creating and Importing Schema Files. MFL documents are created using the Format Builder tool. For more information, see the Format Builder Online Help.

When you select the source type as Simple, you can transform standard schema types like boolean, byte, double, float, int, long, short, String, and Date to any other required target data format.

A data transformation can have multiple input types but only one target type. For example, data can be transformed from two sources to one target, as shown in the following figure.

Figure 1-1 Data Transformation Overview

Data Transformation Overview

What Happened to DTF Files?

In the BEA WebLogic Integration 8.1 release, data transformations were created in BEA WebLogic Workshop IDE and stored in Data Transformation Files (also known as DTF files). These transformation files contained a single data transformation, which represented the mapping and conversion of data from one format to another.

In this release, data transformations are created using XQuery Mapper and the resulting query is an XQuery file (saved with an .xq extension).


Topics Included in This Guide

Transforming Data Using XQuery

Describes how to use the XQuery Mapper to create a query that is written in the XQuery language.

Examples: Manipulating and Constraining Data Using XQuery

Provides information on how to use the XQuery Mapper Sample Project. Procedures for using the sample schemas are included.

  Back to Top       Previous  Next