Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 1 The Basic for Developing Application> Chapter 6 Direct Access Function> 6.2 Creating Direct Access Key Environment

6.2.1 Creating Direct Access Key Definition File

A Direct access key definition file is the file that specifies an element note, which exists in an XML document and the identity has been guaranteed, in the text expression or attribute expression. The file is also corresponded with the name of the direct access key.

Enter contents of a direct access key definition file with the following format.

[Figure 6-2 The definition of the direct access key definition file]

Refer to B.2.2 Text Expressions for more information on the format for text expressions.
Refer to B.2.3 Attribute Expressions for more information on the format for attribute expressions.
Refer to C.4 Allowable Values for the Direct Access for more information on the allowable value when defining the value.

Restart the Shunsaku system when the direct access key definition file is edited.

The following section explains how to specify the direct access key definition file.

The following text is an example of the direct access key definition file.

# Direct access key definition file
key1 /doc/news/day/text(),/doc/news/number/text()

If multiple text nodes specified by a text expression or multiple attribute nodes specified by an attribute expression exist in the same document, the value at the beginning of the text node or the attribute node will be used. The example below shows that only the first data will be accessed. Other two data will not be accessed.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006