blob: e7056449b8dacfc50682aeb3c9e599d0f2070552 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="generator" content="Oracle DARB XHTML Converter (Mode = document) - Version 1.0.22 Build 1" />
<title>Description of the illustration dxmss.gif</title>
</head>
<body>
<p>This figure illustrates an XML direct mapping to individual text nodes in a corresponding XML <strong>document</strong>. The Customer class contains two attributes: <strong>firstName</strong> and <strong>lastName</strong>. The firstName attribute maps to the <strong>&lt;first-name&gt;</strong> element in the XML document; the <strong>lastName</strong> attribute maps to the <strong>&lt;last-name&gt;</strong> element. The XPath for the firstName is mapping is <strong>first-name/text()</strong>; the lastName is <strong>last-name/text()</strong>.</p>
</body>
</html>