blob: 512c163caa0fb751dd083383ba72f3a7dd2f5a1d [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 dxmsttm.gif</title>
</head>
<body>
<p>This figure illustrates an XML direct mapping with a simple Type translator.. The class <strong>PhoneNumber</strong> contains two attributes: <strong>areaCode</strong> and <strong>number</strong>, both of type <strong>Object</strong>. The <strong>areaCode</strong> attribute maps to the <code>&lt;area-code&gt;</code> element in the XML document, using the <strong>xsd:int</strong> type. The <strong>number</strong> attribute maps to the <code>&lt;number&gt;</code> element in the XML document, using the <strong>xsd:string</strong> type.</p>
</body>
</html>