129 lines
6.1 KiB
HTML
129 lines
6.1 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="RFML document type definition (DTD)" />
|
|
<meta name="abstract" content="This is the RFML DTD. Note that the version is 4.0. The RFML DTD resides in the jt400.jar file (com/ibm/as400/data/rfml.dtd)." />
|
|
<meta name="description" content="This is the RFML DTD. Note that the version is 4.0. The RFML DTD resides in the jt400.jar file (com/ibm/as400/data/rfml.dtd)." />
|
|
<meta name="DC.Relation" scheme="URI" content="rfmlsyntax.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rfmldtd" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>RFML document type definition (DTD)</title>
|
|
</head>
|
|
<body id="rfmldtd"><a name="rfmldtd"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">RFML document type definition (DTD)</h1>
|
|
<div><p>This is the RFML DTD. Note that the version is 4.0. The RFML DTD
|
|
resides in the jt400.jar file (com/ibm/as400/data/rfml.dtd).</p>
|
|
<div class="section"><div class="p"><pre><!--
|
|
Record Format Markup Language (RFML) Document Type Definition.
|
|
|
|
RFML is an XML language. Typical usage:
|
|
<?xml version="1.0"?>
|
|
<!DOCTYPE rfml SYSTEM "rfml.dtd">
|
|
<rfml version="4.0">
|
|
...
|
|
</rfml>
|
|
|
|
|
|
(C) Copyright IBM Corporation, 2001,2002
|
|
All rights reserved. Licensed Materials Property of IBM
|
|
US Government Users Restricted Rights
|
|
Use, duplication or disclosure restricted by
|
|
GSA ADP Schedule Contract with IBM Corp.
|
|
-->
|
|
|
|
<!-- Convenience entities -->
|
|
<!ENTITY % string "CDATA"> <!-- a string of length 0 or greater -->
|
|
<!ENTITY % nonNegativeInteger "CDATA"> <!-- a non-negative integer -->
|
|
<!ENTITY % binary2 "CDATA"> <!-- an integer in range 0-65535 -->
|
|
<!ENTITY % boolean "(true|false)">
|
|
<!ENTITY % datatype "(char | int | packed | zoned | float | byte | struct)">
|
|
<!ENTITY % biditype "(ST4 | ST5 | ST6 | ST7 | ST8 | ST9 | ST10 | ST11 | DEFAULT)">
|
|
|
|
|
|
<!-- The document root element -->
|
|
<!ELEMENT rfml (struct | recordformat)+>
|
|
<!ATTLIST rfml
|
|
version %string; #FIXED "4.0"
|
|
ccsid %binary2; #IMPLIED
|
|
>
|
|
<!-- Note: The ccsid is the default value that will be used for -->
|
|
<!-- any contained <data type="char"> elements that do not specify a ccsid. -->
|
|
|
|
|
|
<!-- Note: RFML does not support nested struct declarations. -->
|
|
<!-- All struct elements are direct children of the root node. -->
|
|
<!ELEMENT struct (data)+>
|
|
<!ATTLIST struct
|
|
name ID #REQUIRED
|
|
>
|
|
|
|
|
|
<!-- <!ELEMENT recordformat (data | struct)*> -->
|
|
<!ELEMENT recordformat (data)*>
|
|
<!ATTLIST recordformat
|
|
name ID #REQUIRED
|
|
description %string; #IMPLIED
|
|
>
|
|
<!-- Note: On the server, the Record "text description" field is limited to 50 bytes. -->
|
|
|
|
<!ELEMENT data EMPTY>
|
|
<!ATTLIST data
|
|
name %string; #REQUIRED
|
|
|
|
count %nonNegativeInteger; #IMPLIED
|
|
|
|
type %datatype; #REQUIRED
|
|
length %nonNegativeInteger; #IMPLIED
|
|
precision %nonNegativeInteger; #IMPLIED
|
|
ccsid %binary2; #IMPLIED
|
|
init CDATA #IMPLIED
|
|
struct IDREF #IMPLIED
|
|
|
|
bidistringtype %biditype; #IMPLIED
|
|
>
|
|
<!-- Note: The 'name' attribute must be unique within a given recordformat. -->
|
|
<!-- Note: On the server, the length of Record field names is limited to 10 bytes. -->
|
|
<!-- Note: The 'length' attribute is required, except when type="struct". -->
|
|
<!-- Note: If type="struct", then the 'struct' attribute is required. -->
|
|
<!-- Note: The 'ccsid' and 'bidistringtype' attributes are valid only when type="char". -->
|
|
<!-- Note: The 'precision' attribute is valid only for types "int", "packed", and "zoned". -->
|
|
|
|
|
|
<!-- The standard predefined character entities -->
|
|
<!ENTITY quot "&#34;"> <!-- quotation mark -->
|
|
<!ENTITY amp "&#38;#38;"> <!-- ampersand -->
|
|
<!ENTITY apos "&#39;"> <!-- apostrophe -->
|
|
<!ENTITY lt "&#38;#60;"> <!-- less than -->
|
|
<!ENTITY gt "&#62;"> <!-- greater than -->
|
|
<!ENTITY nbsp "&#160;"> <!-- non-breaking space -->
|
|
<!ENTITY shy "&#173;"> <!-- soft hyphen (discretionary hyphen) -->
|
|
<!ENTITY mdash "&#38;#x2014;">
|
|
<!ENTITY ldquo "&#38;#x201C;">
|
|
<!ENTITY rdquo "&#38;#x201D;"></pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rfmlsyntax.htm" title="RFML documents, called RFML source files, contain tags that define the specification for a particular data format.">Record format documents and RFML syntax</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |