NOTE-xframes-20101216 63.2 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>XFrames</title>
  <style type="text/css">
      .unfinished {  font-style: normal; background-color: #FFFF33}
      .dtd-code {  font-family: monospace; background-color: #dfdfdf; white-space: pre; border: #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
      code {
      color: green;
      font-family: monospace;
      font-weight: bold;
      }
      pre { white-space: pre }
      h4 { color: #005A9C; background: white }
      code.greenmono {
      color: green;
      font-family: monospace;
      font-weight: bold;
      }
      .example {
      border: solid green;
      border-width: 2px;
      color: green;
      font-weight: bold;
      margin-right: 5%;
      margin-left: 0;
      }
      .bad  {
      border: solid red;
      border-width: 2px;
      margin-left: 0;
      margin-right: 5%;
      color: rgb(192, 101, 101);
      }
      div.navbar { text-align: center; }
      div.contents {
      background-color: rgb(204,204,255);
      padding: 0.5em;
      border: none;
      margin-right: 5%;
      }
      .tocline { list-style: none; }
      td { text-align: left }
      .ins { background-color: yellow }
      .del { background-color: yellow; text-decoration: line-through }
      .issue {
	background-color: #cfc ;
	border: none ;
	margin-right: 5% ;
      }
      pre.dtd, pre.rng, pre.xsd  {
	white-space: pre;
	font-family: monospace;
	font-weight: normal;
	margin-right: 0;
	margin-left: 0;
      }
  </style>
  <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE" />
</head>

<body>

<div class="head">
<a href="http://www.w3.org/"><img height="48" width="72" alt="W3C"
src="http://www.w3.org/Icons/w3c_home" /></a>

<h1><a id="title" name="title">XFrames</a></h1>

<h2><a id="subtitle" name="subtitle">W3C Working Group Note 16 December 2010</a></h2>
<dl>
  <dt>This version:</dt>
    <dd><a
      href="http://www.w3.org/TR/2010/NOTE-xframes-20101216">http://www.w3.org/TR/2010/NOTE-xframes-20101216</a></dd>
  <dt>Latest version:</dt>
    <dd><a
      href="http://www.w3.org/TR/xframes">http://www.w3.org/TR/xframes</a></dd>
  <dt>Previous version:</dt>
    <dd><a
      href="http://www.w3.org/TR/2005/WD-xframes-20051012">http://www.w3.org/TR/2005/WD-xframes-20051012</a></dd>
  <dt>Diff-marked version:</dt>
    <dd><a href="xframes-diff.html">xframes-diff.html</a></dd>
  <dt>Editors:</dt>
    <dd>Steven Pemberton, <a href="http://www.cwi.nl/">CWI</a>/W3C</dd>
    <dd>Masayasu Ishikawa, W3C</dd>
</dl>

<p class="copyright"><a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
&copy; 2002-2010 <a href="http://www.w3.org/"><acronym title="World Wide Web
Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of
Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym
title="European Research Consortium for Informatics and
Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>),
All Rights Reserved. W3C <a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
<a
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document
use</a> rules apply.</p>
<hr />
</div>

<h2><a id="abstract" name="abstract">Abstract</a></h2>

<p>XFrames is an XML application for composing documents together, replacing
HTML Frames. By being a separate application from XHTML, it allows content
negotiation to determine if the user agent accepts frames; by encoding the
'population' of frames in the URI, it allows framesets to be bookmarked.</p>

<h2><a id="status" name="status">Status of This Document</a></h2>
<p><em>This section describes the status of this document at the time
of its publication. Other documents may supersede this document. A
list of current W3C publications and the latest revision of this
technical report can be found in the <a
href="http://www.w3.org/TR/">W3C technical reports index</a> at
http://www.w3.org/TR/.</em></p>

<p>This document is a Working Group Note.  The XHTML2 Working Group's
charter expired before it could complete work on this document.  It is possible
that the work will be continued by another group in the future.</p>

<p>Publication as a Working Group Note does not imply endorsement by
the W3C Membership. This is a draft document and may be updated,
replaced or obsoleted by other documents at any time. It is
inappropriate to cite this document as other than work in
progress.</p>

<p>This document has been produced by the <a href="http://www.w3.org/MarkUp/">W3C XHTML 2 Working Group</a> as part of the <a href="http://www.w3.org/MarkUp/Activity">HTML Activity</a>. The goals of
the XHTML 2 Working Group are discussed in the <a href="http://www.w3.org/2007/03/XHTML2-WG-charter">XHTML 2 Working Group charter</a>.</p>

<p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure"
href="http://www.w3.org/2004/01/pp-impl/32107/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for
disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p>

<p>Public discussion of HTML takes place on
<a href="mailto:www-html@w3.org">www-html@w3.org</a>
(<a href="http://lists.w3.org/Archives/Public/www-html/">archive</a>).
To subscribe send an email to
<a href="mailto:www-html-request@w3.org">www-html-request@w3.org</a>
with the word <em>subscribe</em> in the subject line.</p>

<p>Please report errors in this document to
<a href="mailto:www-html-editor@w3.org">www-html-editor@w3.org</a>
(<a href="http://lists.w3.org/Archives/Public/www-html-editor/">archive</a>).
</p>

<h2><a id="contents" name="contents">Contents</a></h2>
<ul class="toc">
  <li>1&#xa0;&#xa0;<a href="#s_intro">Introduction</a></li>
  <li>2&#xa0;&#xa0;<a href="#s_xframes_elements">XFrames</a>
    <ul class="toc">
      <li>2.1&#xa0;&#xa0;<a href="#s_frames-element">The frames Element</a></li>
      <li>2.2&#xa0;&#xa0;<a href="#s_head-element">The head Element</a></li>
      <li>2.3&#xa0;&#xa0;<a href="#s_title-element">The title Element</a></li>
      <li>2.4&#xa0;&#xa0;<a href="#s_style-element">The style Element</a></li>
      <li>2.5&#xa0;&#xa0;<a href="#s_group-element">The group Element</a></li>
      <li>2.6&#xa0;&#xa0;<a href="#s_frame-element">The frame Element</a></li>
      <li>2.7&#xa0;&#xa0;<a href="#s_compose-attribute">The compose Attribute</a></li>
      <li>2.8&#xa0;&#xa0;<a href="#s_common-attributes">Common Attributes</a></li>
      <li>2.9&#xa0;&#xa0;<a href="#s_examples">Examples of Layout</a></li>
    </ul>
  </li>
  <li>3&#xa0;&#xa0;<a href="#s_populating">Populating a Frameset</a>
    <ul class="toc">
      <li>3.1&#xa0;&#xa0;<a href="#s_syntax">Syntax</a></li>
      <li>3.2&#xa0;&#xa0;<a href="#s_assigning">Assigning a resource to a frame</a></li>
      <li>3.3&#xa0;&#xa0;<a href="#s_links">Links and Targets</a></li>
    </ul>
  </li>
  <li>4&#xa0;&#xa0;<a href="#s_styling">Sizing, Styling and Rendering of Frames</a></li>
  <li>5&#xa0;&#xa0;<a href="#s_assignment">Documents Assigned to Frames</a></li>
  <li>Appendices
    <ul class="toc">
      <li>A&#xa0;&#xa0;<a href="#a_module_definition">Module Implementations</a>
        <ul>
          <li>A.1&#xa0;&#xa0;<a href="#a_DTD_definition">DTD Implementation</a>
            <ul>
              <li>A.1.1&#xa0;&#xa0;<a href="#a_DTD">XFrames DTD</a></li>
              <li>A.1.2&#xa0;&#xa0;<a href="#a_DTD_qname">XFrames Qname Module</a></li>
            </ul>
          </li>
          <li>A.2&#xa0;&#xa0;<a href="#a_RELAXNG_definition">RELAX NG
          Implementation</a></li>
          <li>A.3&#xa0;&#xa0;<a href="#a_XMLSchema_definition">XML Schema
            Implementation</a></li>
        </ul>
      </li>
      <li>B&#xa0;&#xa0;<a href="#a_refs">References</a>
        <ul class="toc">
          <li>B.1&#xa0;&#xa0;<a href="#a_norm-refs">Normative References</a></li>
          <li>B.2&#xa0;&#xa0;<a href="#a_other-refs">Other References</a></li>
        </ul>
      </li>
      <li>C&#xa0;&#xa0;<a href="#a_acks">Acknowledgments</a></li>
    </ul>
  </li>
</ul>
<!--OddPage-->

<h2><a id="s_intro" name="s_intro">1&#xa0;&#xa0;Introduction</a></h2>

<p><em>This section is informative.</em></p>

<p>Frames were introduced into HTML at version 4.0 [<a
href="#ref_html">HTML4</a>]. They introduced a manner of composing several
HTML documents into a single view to create an application-like interface.</p>

<p>However, Frames introduced several usability problem that caused several
commentators to advise Web site builders to avoid them at all costs. Examples
of such usability problems are:</p>
<ul>
  <li>The [back] button works unintuitively in many cases.</li>
  <li>You cannot bookmark a collection of documents in a frameset, or send
    someone a reference to the collection.</li>
  <li>If you do a [reload], the result may be different to what you had.</li>
  <li>[page up] and [page down] are often hard to do.</li>
  <li>You can get trapped in a frameset.</li>
  <li>Searching finds HTML pages, not Framed pages, so search results usually
    give you pages without the navigation context that they were intended to
    be in.</li>
  <li>Since you can't content negotiate, <code>noframes</code> markup is
    necessary for user agents that don't support frames. However, almost no
    one produces <code>noframes</code> content, and so it ruins Web searches,
    since search engines are examples of user agents that do not support
    frames.</li>
  <li>There are security problems caused by the fact that it is not visible
    to the user when different frames come from different sources.</li>
</ul>

<p>This document defines a separate XML application, not a part of XHTML <em
xml:lang="la" lang="la">per se</em>, that allows similar functionality to
HTML Frames, with fewer usability problems, principally by making the content
of the frameset visible in its URI.</p>
<!--OddPage-->

<h2><a id="s_xframes_elements" name="s_xframes_elements">2&#xa0;&#xa0;XFrames</a></h2>

<p><em>This section is normative.</em></p>

<p>This specification defines an XML application called XFrames. It uses the
XML Namespaces [<a href="#ref_name">NAME</a>] identifier:
<code>http://www.w3.org/2002/06/xframes/</code></p>

<p>All examples in this document are informative.</p>

<p>The remainder of this section describes the elements and attributes in
XFrames, and their semantics.</p>

<p>The XFrames Module supports the following element and attributes:</p>

<table class="moduledef" border="1"
summary="Element and Attributes for XFrames Module">
  <thead>
    <tr>
      <th>Element</th>
      <th>Attributes</th>
      <th>Content Model</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>frames</td>
      <td>class (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_NMTOKENS">NMTOKENS</a>),
        xml:id (<span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ID">ID</a></span>),
        title (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_CDATA">CDATA</a>),
        xml:base (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_URI">URI</a>)</td>
      <td>head?, (group | frame+)</td>
    </tr>
    <tr>
      <td>head</td>
      <td>class (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_NMTOKENS">NMTOKENS</a>),
        xml:id (<span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ID">ID</a></span>),
        title (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_CDATA">CDATA</a>)</td>
      <td>title, style*</td>
    </tr>
    <tr>
      <td>title</td>
      <td>class (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_NMTOKENS">NMTOKENS</a>),
        xml:id (<span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ID">ID</a></span>),
        title (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_CDATA">CDATA</a>)</td>
      <td>PCDATA</td>
    </tr>
    <tr>
      <td>style</td>
      <td>class (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_NMTOKENS">NMTOKENS</a>),
        xml:id (<span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ID">ID</a></span>), title (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_CDATA">CDATA</a>),
        type* (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ContentTypes">ContentType</a>),
        media (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_MediaDesc">MediaDesc</a>),
        source (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_URI">URI</a>)</td>
      <td>PCDATA</td>
    </tr>
    <tr>
      <td>group</td>
      <td>class (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_NMTOKENS">NMTOKENS</a>),
        xml:id (<span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ID">ID</a></span>),
        title (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_CDATA">CDATA</a>),
        compose ("vertical"* | "horizontal" | "single" | "free" | <span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_QName">QName</a></span>), xml:base
        (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_URI">URI</a>)</td>
      <td>(group | frame)+</td>
    </tr>
    <tr>
      <td>frame</td>
      <td><p>class (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_NMTOKENS">NMTOKENS</a>),
        xml:id (<span class="datatype"><a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_ID">ID</a></span>),
        title (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_CDATA">CDATA</a>),
        source (<a
        href="http://www.w3.org/TR/2005/WD-xhtml2-20050527/abstraction.html#dt_URI">URI</a>)</p>
      </td>
      <td>EMPTY</td>
    </tr>
  </tbody>
</table>

<p>Implementations: <a href="#a_DTD_definition">DTD</a>, <a
href="#a_RELAXNG_definition">RELAX NG</a>, <a
href="#a_XMLSchema_definition">XML Schema</a></p>

<p>Note that the datatype called 'URI' in this specification refers to the
Internationalized Resource Identifier (IRI) [<a href="#ref_iri">IRI</a>].</p>

<p>Example XFrames document:</p>

<pre><code>&lt;frames xmlns="http://www.w3.org/2002/06/xframes/"&gt;
   &lt;head&gt;
      &lt;title&gt;Home page&lt;/title&gt;
      &lt;style type="text/css"&gt;
         #banner {height: 10em }
         #atoz, #nav {width: 20%}
         #footer {height: 4em }
      &lt;/style&gt;
   &lt;/head&gt;
   &lt;group compose="vertical"&gt;
      &lt;frame xml:id="banner" source="banner.xhtml"/&gt;
      &lt;group compose="horizontal"&gt;
	 &lt;frame xml:id="atoz" source="atoz.xhtml"/&gt;
	 &lt;frame xml:id="main" source="news.xhtml"/&gt;
	 &lt;frame xml:id="nav" source="nav.xhtml"/&gt;
      &lt;/group&gt;
      &lt;frame xml:id="footer" source="copyright.xhtml"/&gt;
   &lt;/group&gt;
&lt;/frames&gt;</code></pre>

<h3><a id="s_frames-element" name="s_frames-element">2.1&#xa0;&#xa0;The frames
Element</a></h3>

<p>An XFrames document is a specification for composing several documents,
potentially of different types, together in a view. The <code>frames</code>
element forms the container for the composed document. The individual
sub-documents ('frames') may be composed together in a rectangular space by
placing them next to, or above, each other in rows and columns, or they may
be displayed as separate movable window-like panes, or as tabbed panes, or in
any other suitable manner. The collection of frames in an XFrames document is
referred to as a <em>frameset</em>. The <code>frames</code> element has the
following additional attribute on top of the set of attributes common to all
elements:</p>

<dl>
  <dt><code>xml:base</code></dt>
    <dd>Used for resolving relative URIs when populating frames within the
      document. See [<a href="#ref_xmlbase">XMLBASE</a>].</dd>
</dl>

<h3><a id="s_head-element" name="s_head-element">2.2&#xa0;&#xa0;The head
Element</a></h3>

<p>The <code>head</code> element contains meta-data about the document,
specifying a title, and a style sheet.</p>

<h3><a id="s_title-element" name="s_title-element">2.3&#xa0;&#xa0;The title
Element</a></h3>

<p>The <code>title</code> element contains an identifying text for the
document, that may be used by a user agent to label the document.</p>

<h3><a id="s_style-element" name="s_style-element">2.4&#xa0;&#xa0;The style
Element</a></h3>

<p>The <code>style</code> element allows the specification of styling
instructions that affect the presentation of the frames in the document.
Apart from common attributes, the <code>style</code> element has the
following attributes:</p>
<dl>
  <dt><code>type</code></dt>
    <dd>This required attribute specifies the style sheet language of the
      element's contents. The style sheet language is specified as a content
      type (e.g., "<samp>text/css</samp>"). A value must be supplied for this attribute;
      there is no default value.</dd>
  <dt><code>source</code></dt>
    <dd>This optional attribute specifies the URI reference of a stylesheet.
      If that stylesheet is available, it is used in place of the content of
      the <code>style</code> element; otherwise the content of the
      <code>style</code> element is used.</dd>
  <dt><code>media</code></dt>
    <dd>This optional attribute is a comma-separated list of media
      descriptors used by the stylesheet processor to determine if this style
      definition applies to the current document in the current
    circumstances.</dd>
</dl>

<h3><a id="s_group-element" name="s_group-element">2.5&#xa0;&#xa0;The group 
Element</a></h3>

<p>The <code>group</code> element specifies a series of groups and single
frames. The groups and single frames are positioned together according to
styling applied to them; in the absence of styling, the <code>compose</code>
attribute should be used by the user agent as an indication of how the frames
are to be composed. There is one additional attribute:</p>
<dl>
  <dt><code>xml:base</code></dt>
    <dd>Used for resolving relative URIs when populating frames within the
      document. See [<a href="#ref_xmlbase">XMLBASE</a>].</dd>
</dl>

<h3><a id="s_frame-element" name="s_frame-element">2.6&#xa0;&#xa0;The frame
Element</a></h3>

<p>The <code>frame</code> element is a place holder for the content of a
document. It has one additional attribute:</p>
<dl>
  <dt><code>source</code></dt>
    <dd>This attribute specifies a URI-reference for a default document to
      populate the frame, if that is not done via a parameter to the frameset
      document's URI.</dd>
</dl>

<h3><a id="s_compose-attribute" name="s_compose-attribute">2.7&#xa0;&#xa0;The
compose Attribute</a></h3>

<p>The <code>compose</code> attribute supplies a suggestion to the user agent
for how a group of frames should be composed. Styling applied from a
stylesheet may override or ignore the suggestion; user agents for particular
devices may find it necessary to use other styling: for instance a device
with a very small screen may only offer a presentation of the frames' titles,
and allow each frame to be selected individually (a variant of 'single');
otherwise a user agent should use the suggestion for positioning.</p>

<p>The <code>compose</code> attribute has the following values:</p>
<dl>
  <dt><code>vertical</code></dt>
    <dd><p>The grouped elements are tiled vertically above each other. (A
      group with <code>compose="vertical"</code> is referred to further in
      this specification as a <em>column</em>.)</p>
    </dd>
  <dt><code>horizontal</code></dt>
    <dd><p>The grouped elements are tiled horizontally next to each other. (A
      group with <code>compose="horizontal"</code> is referred to further in
      this specification as a <em>row</em>.)</p>
    </dd>
  <dt><code>single</code></dt>
    <dd><p>At any moment only one of the grouped frames is visible; any of
      the others can be made visible by selecting it. The user must be able
      to see that there are other frames available, and the user must be
      able to access any one of them. The method used to select another
      frame is not defined. It may be done using a series of tabs, a menu,
      or some other means. The frame or group's title should be used as the
      identifier used for selection.</p>
    </dd>
  <dt><code>free</code></dt>
    <dd><p>The elements are made available as free-standing moveable
      overlappable windows within the space available.</p>
    </dd>
  <dt><code>A QName</code></dt>
    <dd><p>This specification makes no normative statement about how these values affect layout. It is there to allow implementations to supply other layout possibilities. In the absence of any other styling information, when an implementation encounters a value it does not recognize, it should treat it as equivalent to <code>vertical</code>.</p>
    </dd>
</dl>

<h3><a id="s_common-attributes" name="s_common-attributes">2.8&#xa0;&#xa0;Common
Attributes</a></h3>

<dl>
  <dt><code>xml:id</code></dt>
    <dd><p>This attribute assigns a name to an element. This name must be
      unique in an XFrames document. It may be used as a style sheet
      selector, a target anchor for hypertext links or as a means to
      reference a particular element for general purpose processing by user
      agents.</p>
    </dd>
  <dt><code>class</code></dt>
    <dd><p>This attribute assigns a class name or set of class names to an
      element. Any number of elements may be assigned the same class name or
      names. Multiple class names must be separated by white space
      characters. It may be used as a style sheet selector (when an author
      wishes to assign style information to a set of elements) or for general
      purpose processing by user agents.</p>
    </dd>
  <dt><code>title</code></dt>
    <dd>This attribute offers advisory information about the element for
      which it is set. It may be used to document the purpose of a frame, and
      may be useful for non-visual user agents to help the user understand
      the structure of a set of frames.</dd>
</dl>

<h3><a id="s_examples" name="s_examples">2.9&#xa0;&#xa0;Examples of Layout</a></h3>

<p><em>This section is informative.</em></p>

<p>All these examples assume at least a surrounding <code>&lt;frames
xmlns="http://www.w3.org/2002/06/xframes/"&gt;</code> element. The
<code>xml:id</code> attributes have been omitted from the <code>frame</code>
elements for clarity.</p>
<ol>
  <li>To place two documents next to each other, you specify
    <pre><code>&lt;group compose="horizontal"&gt;&lt;frame/&gt;&lt;frame/&gt;&lt;/group&gt;</code></pre>
  </li>
  <li>To put two documents one above the other, you specify
    <pre><code>&lt;group compose="vertical"&gt;&lt;frame/&gt;&lt;frame/&gt;&lt;/group&gt;</code></pre>
  </li>
  <li>To specify a layout that looks like the following
    <pre> -------
|   |   |
|---|   |
|   |   |
 -------</pre>
    <p>you specify</p>
    <pre><code>&lt;group compose="horizontal"&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;group compose="vertical"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
    &lt;frame/&gt;
&lt;/group&gt;</code></pre>
  </li>
  <li>A layout like
    <pre> -------
|   |   |
|-------|
|       |
 -------</pre>
    <p>you specify as</p>
    <pre><code>&lt;group compose="vertical"&gt;
    &lt;group compose="horizontal"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
    &lt;frame/&gt;
&lt;/group&gt;</code></pre>
  </li>
  <li>A layout like
    <pre> -----
|     |
|-----|
|  |  |
|-----|
|     |
 -----</pre>
    <p>you specify</p>
    <pre><code>&lt;group compose="vertical"&gt;
    &lt;frame/&gt;
    &lt;group compose="horizontal"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
    &lt;frame/&gt;
&lt;/group&gt;</code></pre>
  </li>
  <li>A layout like
    <pre> -----
|  |  |
|--+--|
|  |  |
 -----</pre>
    <p>can be specified as either a column of two rows, or a row of two
    columns:</p>
    <pre><code>&lt;group compose="vertical"&gt;
    &lt;group compose="horizontal"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
    &lt;group compose="horizontal"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
&lt;/group&gt;</code></pre>
    <p>or</p>
    <pre><code>&lt;group compose="horizontal"&gt;
    &lt;group compose="vertical"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
    &lt;group compose="vertical"&gt;
        &lt;frame/&gt;
        &lt;frame/&gt;
    &lt;/group&gt;
&lt;/group&gt;</code></pre>
  </li>
  <li>A tabbed frameset:
    <pre><code>&lt;group compose="single"&gt;
    &lt;frame/&gt;
    &lt;frame/&gt;
    &lt;frame/&gt;
&lt;/group&gt;</code></pre>
    <p>Replace <code>"single"</code> with <code>"free"</code> for moveable
    frames.</p>
  </li>
</ol>

<h2><a id="s_populating" name="s_populating">3&#xa0;&#xa0;Populating a Frameset</a></h2>

<p>An XFrames document is normally referenced by a URI reference [<a
href="#ref_uri">URI</a>] of the form
<code>http://example.org/home.xframes#frames(id1=uri1,id2=uri2,...)</code>.</p>

<p>That is to say, the part before the '#' is a URI identifying an XFrames
document. After the '#' comes the word 'frames', followed by, in brackets,
one or more associations separated by commas.</p>

<h3><a id="s_syntax" name="s_syntax">3.1&#xa0;&#xa0;Syntax</a></h3>

<p><code>xframes-URI-reference = [ absoluteURI | relativeURI ] [ "#frames("
associations ")" ]</code></p>

<p><code>associations = association | associations "," association</code></p>

<p><code>association = id "=" URI-reference</code></p>

<p>Each association consists of an identifer, an equals sign, and a URI
reference, with no intervening whitespace. Matched brackets within the URI
reference, and commas enclosed within matched brackets, may be left
unescaped; all other brackets and commas must be escaped according to URI
escaping rules: %2c for comma, %28 for open bracket, and %29 for close
bracket.</p>

<h3><a id="s_assigning" name="s_assigning">3.2&#xa0;&#xa0;Assigning a resource to a frame</a></h3>

<p>Each identifier in an association identifies a <code>frame</code> element
within the XFrames document with an <code>xml:id</code> attribute with that
value. The associated URI reference is then assigned to that frame. If there
is no frame with such an <code>xml:id</code>, the association is ignored. If there is more than one association for the same <code>xml:id</code>, the textually last one is used.</p>

<p>If a frame within the document is not populated (because it has no
<code>xml:id</code> attribute, or because there is no association that uses its
id), and it has a <code>source</code> attribute, the URI reference in that
attribute is used instead. If an unpopulated frame has no <code>source</code>
attribute, the frame is left blank.</p>

<p>An XFrames document may also be referenced with an unadorned URI (i.e.,
not a URI reference), such as <code>http://example.org/home.xframes</code>,
in which case the frames are populated only using the source attributes where
present.</p>

<p>Relative parameter URIs are interpreted relative to the XFrames document,
taking into account any <code>xml:base</code> [<a
href="#ref_xmlbase">XMLBASE</a>] value on the <code>frames</code>
element; relative URIs in <code>source</code> attributes are interpreted
according to any <code>xml:base</code> attributes on enclosing elements, and
otherwise relative to the XFrames document.</p>

<p>Having associated URIs to the frames, the XFrames document is displayed
accordingly.</p>

<p>For example, in a document <code>home.xframes</code>, describing the
following layout</p>
<pre> -------
|   |   |
|---|   |
|   |   |
 -------</pre>

<p>as</p>
<pre><code>&lt;group compose="horizontal"&gt;
    &lt;group compose="vertical"&gt;
        &lt;frame xml:id="one"/&gt;
        &lt;frame xml:id="two"/&gt;
    &lt;/group&gt;
    &lt;frame xml:id="three" source="main.xml"/&gt;
&lt;/group&gt;</code></pre>

<p>and populated as follows</p>
<pre><code>home.xframes#frames(one=a.xhtml,two=b.xhtml,three=c.xhtml)</code></pre>

<p>the frames would be populated by assigning <code>a.xhtml</code> to the
frame with <code>xml:id="one"</code>, <code>b.xhtml</code> to the frame with
<code>xml:id="two"</code>, and <code>c.xhtml</code> to the frame with
<code>xml:id="three"</code>:</p>
<pre> -------
| a |   |
|---| c |
| b |   |
 -------</pre>

<p>Populated as follows:</p>
<pre><code>home.xframes#frames(one=a.xhtml,two=b.xhtml)</code></pre>

<p>the frame with <code>xml:id="three"</code> would be populated with
<code>main.xml</code>.</p>

<p>Populated as follows</p>
<pre><code>home.xframes#frames(one=a.xhtml)</code></pre>

<p>the frame with <code>xml:id="two"</code> would additionally be left blank.</p>

<p>Populated as follows:</p>
<pre><code>home.xframes#frames(four=nav.xml)</code></pre>

<p>the frames with <code>xml:id="one"</code> and <code>xml:id="two"</code> would be
blank, and the frame with <code>xml:id="three"</code> would be associated with
<code>main.xml</code> (and <code>nav.xml</code> would be ignored); this is
identical to populating it with the unadorned URI
<code>home.xframes</code>.</p>

<h3><a id="s_links" name="s_links">3.3&#xa0;&#xa0;Links and Targets</a></h3>

<p>If a document assigned to a frame contains hyperlinks, and one of these is
activated by some means (such as by the user clicking on it), then the URI of
that hyperlink is normally assigned to the frame instead, and the XFrames
document is redisplayed.This changes the URI associated with the XFrames
document, by adding or replacing an association between the frame and the URI
for the frame document; this would normally be visible to the user. If the
frame containing the document does not have an xml:id attribute, so that such an
association is not possible, the entire frameset is replaced by the linked-to
document.</p>

<p>If the hyperlink is in some way <em>targetted</em> (for instance by being
associated with a <em>target</em> attribute in XHTML 1.0 [<a
href="#ref_xhtml">XHTML</a>]), then in the containing frameset a frame with
an <code>xml:id</code> equal to the target is located, and the URI is associated
with that frame instead. If the current frameset contains no such
<code>xml:id</code>, but the frameset is associated with a frame in another
frameset, then the process continues with that frameset, and so on. If no
matching <code>xml:id</code> is found, then the targetted resource is processed
in an entirely new environment with that target identifier (for instance, a
visual browser might open a new window).</p>

<h2><a id="s_styling" name="s_styling">4&#xa0;&#xa0;Sizing, Styling and Rendering of
Frames</a></h2>

<p>Styling, positioning, and sizing of frames is done using a style sheet in
CSS or some other suitable styling language. This means that there is nothing
normative in the values of the <code>compose</code> attribute except a
suggestion on how they should be rendered, and a default composition in the
absence of other styling information.</p>

<p>In the absence of other styling information, the height of a row is the
height of its highest directly contained element; the height of a column is
the sum of the heights of its directly contained elements.</p>

<p>In the absence of other styling information, the width of a column is the
width of its widest directly contained element; the width of a row is the sum
of the widths of its directly contained elements.</p>

<p>In the absence of other styling information, the height and width of a
frame is either obtained from the intrinsic dimensions of the framed content
(such as an image), or otherwise by sharing the available space equally over
such undimensioned elements at the same level (so in a column of three
frames, each frame is allocated one third of the height of the column; with a
column of two frames and a row, the row is still allocated one third of the
height of the column, even if the row itself contains more columns; in a
column of three frames where one frame has been assigned a height, the
remaining space is divided over the other two frames).</p>

<p>Note that any stylesheet in an XFrames document has no effect on the
contents of any frame.</p>

<h2><a id="s_assignment" name="s_assignment">5&#xa0;&#xa0;Documents Assigned to
Frames</a></h2>

<p>This specification does not require conformant XFrames user agents to
accept or refuse any particular type of document for assignment to a frame,
though it must accept at least one.</p>
<!--OddPage-->

<h2><a id="a_module_definition" name="a_module_definition">A&#xa0;&#xa0;Module
Implementations</a></h2>

<p>This appendix is <em>normative</em>.</p>

<h3><a id="a_DTD_definition" name="a_DTD_definition">A.1&#xa0;&#xa0;DTD
Implementation</a></h3>

<h3><a id="a_DTD" name="a_DTD">A.1.1&#xa0;&#xa0;XFrames DTD</a></h3>
<pre class="dtd">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!-- ...................................................................... --&gt;
&lt;!-- XFrames DTD .......................................................... --&gt;
&lt;!-- URI: http://www.w3.org/MarkUp/DTD/xframes-1.dtd

     This is XFrames - an XML application for composing documents together.

     Copyright ©2002-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.

       Editor:   Masayasu Ishikawa &lt;mimasa@w3.org&gt;
       Revision: &#36;Id: xframes-1.dtd,v 1.8 2005/10/04 12:50:58 mimasa Exp &#36;

     Permission to use, copy, modify and distribute the XFrames DTD and its 
     accompanying documentation for any purpose and without fee is hereby 
     granted in perpetuity, provided that the above copyright notice and 
     this paragraph appear in all copies.  The copyright holders make no 
     representation about the suitability of the DTD for any purpose.

     It is provided "as is" without expressed or implied warranty.

     This DTD module is identified by the PUBLIC and SYSTEM identifiers:

       PUBLIC "-//W3C//DTD XFrames 1.0//EN"
       SYSTEM "http://www.w3.org/MarkUp/DTD/xframes-1.dtd"

     Revisions:
     (none)
     ....................................................................... --&gt;

&lt;!-- XFrames

     frames, head, title, style, group, frame

     This XFrames DTD declares elements and attributes defining
     XFrames, an XML application for composing documents together.
--&gt;

&lt;!-- Datatypes

     defines containers for the following datatypes, many of
     these imported from other specifications and standards.
--&gt;

&lt;!-- media type, as per [RFC2045] --&gt;
&lt;!ENTITY % ContentType.datatype "CDATA" &gt;

&lt;!-- A comma-separated list of media descriptors as described by [CSS2].
     The default is all.
--&gt;
&lt;!ENTITY % MediaDesc.datatype "CDATA" &gt;

&lt;!-- An Internationalized Resource Identifier Reference, as defined by [IRI].
--&gt;
&lt;!ENTITY % URI.datatype "CDATA" &gt;

&lt;!-- XFrames Qname (Qualified Name) Module --&gt;
&lt;!ENTITY % xframes-qname.mod
    PUBLIC "-//W3C//ENTITIES XFrames Qualified Names 1.0//EN"
           "xframes-qname-1.mod" &gt;
%xframes-qname.mod;

&lt;!-- Common Attributes

     This module declares many of the common attributes for the XFrames DTD.
     %XFRAMES.xmlns.attrib; is declared in the XFrames Qname module.
--&gt;

&lt;!ENTITY % XFRAMES.Common.extra.attrib "" &gt;

&lt;!ENTITY % XFRAMES.Common.attrib
  "class   NMTOKENS  #IMPLIED
   xml:id  ID        #IMPLIED
   title   CDATA     #IMPLIED
   %XFRAMES.xmlns.attrib;
   %XFRAMES.Common.extra.attrib;"
&gt;

&lt;!-- frames element .................................... --&gt;
&lt;!ENTITY % XFRAMES.frames.content
  "( %XFRAMES.head.qname;?, 
   ( %XFRAMES.group.qname; | %XFRAMES.frame.qname;+ ) )"
&gt;
&lt;!ELEMENT %XFRAMES.frames.qname; %XFRAMES.frames.content; &gt;
&lt;!ATTLIST %XFRAMES.frames.qname;
    %XFRAMES.Common.attrib;
    xml:base  %URI.datatype;  #IMPLIED
&gt;

&lt;!-- head element ...................................... --&gt;
&lt;!ENTITY % XFRAMES.head.content
  "( %XFRAMES.title.qname;, %XFRAMES.style.qname;* )"
&gt;
&lt;!ELEMENT %XFRAMES.head.qname; %XFRAMES.head.content; &gt;
&lt;!ATTLIST %XFRAMES.head.qname;
    %XFRAMES.Common.attrib;
&gt;

&lt;!-- title element ..................................... --&gt;
&lt;!ENTITY % XFRAMES.title.content "( #PCDATA )" &gt;
&lt;!ELEMENT %XFRAMES.title.qname; %XFRAMES.title.content; &gt;
&lt;!ATTLIST %XFRAMES.title.qname;
    %XFRAMES.Common.attrib;
&gt;

&lt;!-- style element ..................................... --&gt;
&lt;!ENTITY % XFRAMES.style.content "( #PCDATA )" &gt;
&lt;!ELEMENT %XFRAMES.style.qname; %XFRAMES.style.content; &gt;
&lt;!ATTLIST %XFRAMES.style.qname;
    %XFRAMES.Common.attrib;
    type    %ContentType.datatype;  #REQUIRED
    media   %MediaDesc.datatype;    #IMPLIED
    source  %URI.datatype;          #IMPLIED
&gt;

&lt;!-- group element ..................................... --&gt;
&lt;!ENTITY % XFRAMES.group.content
  "( ( %XFRAMES.group.qname; | %XFRAMES.frame.qname; )+ )"
&gt;
&lt;!ELEMENT %XFRAMES.group.qname; %XFRAMES.group.content; &gt;
&lt;!-- possible values for the compose attribute are:
     "vertical", "horizontal", "single", "free", or a QName
--&gt;
&lt;!ATTLIST %XFRAMES.group.qname;
    %XFRAMES.Common.attrib;
    compose   CDATA           'vertical'
    xml:base  %URI.datatype;  #IMPLIED
&gt;

&lt;!-- frame element ..................................... --&gt;
&lt;!ENTITY % XFRAMES.frame.content "EMPTY" &gt;
&lt;!ELEMENT %XFRAMES.frame.qname; %XFRAMES.frame.content; &gt;
&lt;!ATTLIST %XFRAMES.frame.qname;
    %XFRAMES.Common.attrib;
    source  %URI.datatype;  #IMPLIED
&gt;

&lt;!-- end of xframes-1.dtd --&gt;</pre>

<h3><a id="a_DTD_qname" name="a_DTD_qname">A.1.2&#xa0;&#xa0;XFrames Qname
Module</a></h3>

<pre class="dtd">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!-- ....................................................................... --&gt;
&lt;!-- XFrames Qname Module  ................................................. --&gt;
&lt;!-- URI: http://www.w3.org/MarkUp/DTD/xframes-qname-1.mod

     This is XFrames - an XML application for composing documents together.

     Copyright ©2002-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.

     Revision: &#36;Id: xframes-qname-1.mod,v 1.5 2005/09/21 18:03:25 mimasa Exp &#36;

     This DTD module is identified by the PUBLIC and SYSTEM identifiers:

       PUBLIC "-//W3C//ENTITIES XFrames Qualified Names 1.0//EN"
       SYSTEM "http://www.w3.org/MarkUp/DTD/xframes-qname-1.mod"

     Revisions:
     (none)
     ....................................................................... --&gt;

&lt;!-- XFrames Qname (Qualified Name) Module

     This module is contained in two parts, labeled Section 'A' and 'B':

       Section A declares parameter entities to support namespace-
       qualified names, namespace declarations, and name prefixing
       for XFrames and extensions.

       Section B declares parameter entities used to provide
       namespace-qualified names for all XFrames element types:

         %XFRAMES.frames.qname;   the xmlns-qualified name for &lt;frames&gt;
         ...

     XFrames extensions would create a module similar to this one.
     Included in the XML distribution is a template module
     ('template-qname-1.mod') suitable for this purpose.
--&gt;

&lt;!-- Section A: XFrames XML Namespace Framework :::::::::::::::::::: --&gt;

&lt;!-- 1. Declare a %XFRAMES.prefixed; conditional section keyword, used
        to activate namespace prefixing. The default value should
        inherit '%XFRAMES.NS.prefixed;' from the DTD driver, so that unless
        overridden, the default behaviour follows the overall DTD
        prefixing scheme.
--&gt;
&lt;!ENTITY % XFRAMES.NS.prefixed "IGNORE" &gt;
&lt;!ENTITY % XFRAMES.prefixed "%XFRAMES.NS.prefixed;" &gt;

&lt;!-- 2. Declare a parameter entity (eg., %XFRAMES.xmlns;) containing
        the URI reference used to identify the XFrames namespace
--&gt;
&lt;!ENTITY % XFRAMES.xmlns  "http://www.w3.org/2002/06/xframes/" &gt;

&lt;!-- 3. Declare parameter entities (eg., %MODULE.prefix;) containing
        the default namespace prefix string(s) to use when prefixing
        is enabled. This may be overridden in the DTD driver or the
        internal subset of an document instance. If no default prefix
        is desired, this may be declared as an empty string.

     NOTE: As specified in [XMLNAMES], the namespace prefix serves
     as a proxy for the URI reference, and is not in itself significant.
--&gt;
&lt;!ENTITY % XFRAMES.prefix  "x" &gt;

&lt;!-- 4. Declare parameter entities (eg., %XFRAMES.pfx;) containing the
        colonized prefix(es) (eg., '%XFRAMES.prefix;:') used when
        prefixing is active, an empty string when it is not.
--&gt;
&lt;![%XFRAMES.prefixed;[
&lt;!ENTITY % XFRAMES.pfx  "%XFRAMES.prefix;:" &gt;
]]&gt;
&lt;!ENTITY % XFRAMES.pfx  "" &gt;

&lt;!-- declare qualified name extensions here ............ --&gt;
&lt;!ENTITY % xframes-qname-extra.mod "" &gt;
%xframes-qname-extra.mod;

&lt;!-- 5. The parameter entity %XFRAMES.xmlns.extra.attrib; may be
        redeclared to contain any non-XFrames namespace declaration
        attributes for namespaces embedded in XML. The default
        is an empty string.  XLink should be included here if used
        in the DTD.
--&gt;
&lt;!ENTITY % XFRAMES.xmlns.extra.attrib "" &gt;

&lt;![%XFRAMES.prefixed;[
&lt;!ENTITY % XFRAMES.NS.decl.attrib
     "xmlns:%XFRAMES.prefix;  %URI.datatype;  #FIXED '%XFRAMES.xmlns;'
      %XFRAMES.xmlns.extra.attrib;"
&gt;
]]&gt;
&lt;!ENTITY % XFRAMES.NS.decl.attrib
     "%XFRAMES.xmlns.extra.attrib;"
&gt;

&lt;!-- Declare a parameter entity %XFRAMES.NS.decl.attrib; containing all
     XML namespace declaration attributes used by XFrames, including
     a default xmlns declaration when prefixing is inactive.
--&gt;
&lt;![%XFRAMES.prefixed;[
&lt;!ENTITY % XFRAMES.xmlns.attrib
     "%XFRAMES.NS.decl.attrib;"
&gt;
]]&gt;
&lt;!ENTITY % XFRAMES.xmlns.attrib
     "xmlns                   %URI.datatype;  #FIXED '%XFRAMES.xmlns;'
      %XFRAMES.xmlns.extra.attrib;"
&gt;

&lt;!-- Section B: XML Qualified Names ::::::::::::::::::::::::::::: --&gt;

&lt;!-- 6. This section declares parameter entities used to provide
        namespace-qualified names for all XFrames element types.
--&gt;

&lt;!ENTITY % XFRAMES.frames.qname "%XFRAMES.pfx;frames" &gt;
&lt;!ENTITY % XFRAMES.head.qname   "%XFRAMES.pfx;head" &gt;
&lt;!ENTITY % XFRAMES.title.qname  "%XFRAMES.pfx;title" &gt;
&lt;!ENTITY % XFRAMES.style.qname  "%XFRAMES.pfx;style" &gt;
&lt;!ENTITY % XFRAMES.group.qname  "%XFRAMES.pfx;group" &gt;
&lt;!ENTITY % XFRAMES.frame.qname  "%XFRAMES.pfx;frame" &gt;

&lt;!-- end of xfames-qname-1.mod --&gt;</pre>

<h3><a id="a_RELAXNG_definition" name="a_RELAXNG_definition">A.2&#xa0;&#xa0;RELAX NG
Implementation</a></h3>

<pre class="rng">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;grammar ns="http://www.w3.org/2002/06/xframes/" xml:lang="en"
         xmlns="http://relaxng.org/ns/structure/1.0"
         xmlns:xml="http://www.w3.org/XML/1998/namespace"
         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"&gt;

  &lt;a:documentation&gt;
    XFrames RELAX NG pattern
    URI: http://www.w3.org/MarkUp/RELAXNG/xframes-1.rng

    This is XFrames - an XML application for composing documents together.

    Copyright ©2002-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.

        Editor:   Masayasu Ishikawa (mimasa@w3.org)
        Revision: &#36;Id: xframes-1.rng,v 1.19 2005/10/05 23:53:41 mimasa Exp &#36;

    Permission to use, copy, modify and distribute the XFrames RELAX NG
    pattern and its accompanying documentation for any purpose and without
    fee is hereby granted in perpetuity, provided that the above copyright
    notice and this paragraph appear in all copies. The copyright holders
    make no representation about the suitability of this RELAX NG pattern
    for any purpose.

    It is provided "as is" without expressed or implied warranty.
  &lt;/a:documentation&gt;

  &lt;a:documentation&gt;
    XFrames

    frames, head, title, style, group, frame

    This XFrames RELAX NG pattern declares elements and attributes defining
    XFrames, an XML application for composing documents together.
  &lt;/a:documentation&gt;

  &lt;start&gt;
    &lt;choice&gt;
      &lt;ref name="frames"/&gt;
    &lt;/choice&gt;
  &lt;/start&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      Datatypes
    &lt;/a:documentation&gt;

    &lt;define name="ContentType.datatype"&gt;
      &lt;a:documentation&gt;
        ContentType.datatype

        media type, as per [RFC2045]
      &lt;/a:documentation&gt;
      &lt;text/&gt;
    &lt;/define&gt;

    &lt;define name="MediaDesc.datatype"&gt;
      &lt;a:documentation&gt;
        A comma-separated list of media descriptors as described by [CSS2].
        The default is all.
      &lt;/a:documentation&gt;
      &lt;data type="string"&gt;
        &lt;param name="pattern"&gt;[^,]+(,\s*[^,]+)*&lt;/param&gt;
      &lt;/data&gt;
    &lt;/define&gt;

    &lt;define name="QName.datatype"&gt;
      &lt;a:documentation&gt;
        QName.datatype

        An [XMLNS]-qualified name.
      &lt;/a:documentation&gt;
      &lt;data type="QName"/&gt;
    &lt;/define&gt;

    &lt;define name="URI.datatype"&gt;
      &lt;a:documentation&gt;
        URI.datatype

        An Internationalized Resource Identifier Reference, as defined
        by [IRI].
      &lt;/a:documentation&gt;
      &lt;data type="anyURI"/&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      Common Attributes

      class, xml:id, title
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.Common.extra.attrib"&gt;
      &lt;empty/&gt;
    &lt;/define&gt;

    &lt;define name="XFRAMES.Common.attrib"&gt;
      &lt;optional&gt;
        &lt;attribute name="class"&gt;
          &lt;data type="NMTOKENS"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
      &lt;optional&gt;
        &lt;attribute name="xml:id"&gt;
          &lt;data type="ID"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
      &lt;optional&gt;
        &lt;attribute name="title"/&gt;
      &lt;/optional&gt;
      &lt;ref name="XFRAMES.Common.extra.attrib"/&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      frames element
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.frames.content"&gt;
      &lt;optional&gt;
        &lt;ref name="head"/&gt;
      &lt;/optional&gt;
      &lt;choice&gt;
        &lt;ref name="group"/&gt;
        &lt;oneOrMore&gt;
          &lt;ref name="frame"/&gt;
        &lt;/oneOrMore&gt;
      &lt;/choice&gt;
    &lt;/define&gt;

    &lt;define name="frames"&gt;
      &lt;element name="frames"&gt;
        &lt;ref name="attlist.frames"/&gt;
        &lt;ref name="XFRAMES.frames.content"/&gt;
      &lt;/element&gt;
    &lt;/define&gt;

    &lt;define name="attlist.frames" combine="interleave"&gt;
      &lt;ref name="XFRAMES.Common.attrib"/&gt;
      &lt;optional&gt;
        &lt;attribute name="xml:base"&gt;
          &lt;ref name="URI.datatype"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      head element
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.head.content"&gt;
      &lt;ref name="title"/&gt;
      &lt;zeroOrMore&gt;
        &lt;ref name="style"/&gt;
      &lt;/zeroOrMore&gt;
    &lt;/define&gt;

    &lt;define name="head"&gt;
      &lt;element name="head"&gt;
        &lt;ref name="attlist.head"/&gt;
        &lt;ref name="XFRAMES.head.content"/&gt;
      &lt;/element&gt;
    &lt;/define&gt;

    &lt;define name="attlist.head" combine="interleave"&gt;
      &lt;ref name="XFRAMES.Common.attrib"/&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      title element
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.title.content"&gt;
      &lt;text/&gt;
    &lt;/define&gt;

    &lt;define name="title"&gt;
      &lt;element name="title"&gt;
        &lt;ref name="attlist.title"/&gt;
        &lt;ref name="XFRAMES.title.content"/&gt;
      &lt;/element&gt;
    &lt;/define&gt;

    &lt;define name="attlist.title" combine="interleave"&gt;
      &lt;ref name="XFRAMES.Common.attrib"/&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      style element
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.style.content"&gt;
      &lt;text/&gt;
    &lt;/define&gt;

    &lt;define name="style"&gt;
      &lt;element name="style"&gt;
        &lt;ref name="attlist.style"/&gt;
        &lt;ref name="XFRAMES.style.content"/&gt;
      &lt;/element&gt;
    &lt;/define&gt;

    &lt;define name="attlist.style" combine="interleave"&gt;
      &lt;ref name="XFRAMES.Common.attrib"/&gt;
      &lt;attribute name="type"&gt;
        &lt;ref name="ContentType.datatype"/&gt;
      &lt;/attribute&gt;
      &lt;optional&gt;
        &lt;attribute name="media" a:defaultValue="all"&gt;
          &lt;ref name="MediaDesc.datatype"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
      &lt;optional&gt;
        &lt;attribute name="source"&gt;
          &lt;ref name="URI.datatype"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      group element
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.group.content"&gt;
      &lt;oneOrMore&gt;
        &lt;choice&gt;
          &lt;ref name="group"/&gt;
          &lt;ref name="frame"/&gt;
        &lt;/choice&gt;
      &lt;/oneOrMore&gt;
    &lt;/define&gt;

    &lt;define name="group"&gt;
      &lt;element name="group"&gt;
        &lt;ref name="attlist.group"/&gt;
        &lt;ref name="XFRAMES.group.content"/&gt;
      &lt;/element&gt;
    &lt;/define&gt;

    &lt;define name="attlist.group" combine="interleave"&gt;
      &lt;ref name="XFRAMES.Common.attrib"/&gt;
      &lt;optional&gt;
        &lt;attribute name="compose" a:defaultValue="vertical"&gt;
          &lt;choice&gt;
            &lt;value&gt;vertical&lt;/value&gt;
            &lt;value&gt;horizontal&lt;/value&gt;
            &lt;value&gt;single&lt;/value&gt;
            &lt;value&gt;free&lt;/value&gt;
            &lt;ref name="QName.datatype"/&gt;
          &lt;/choice&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
      &lt;optional&gt;
        &lt;attribute name="xml:base"&gt;
          &lt;ref name="URI.datatype"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
    &lt;/define&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;a:documentation&gt;
      frame element
    &lt;/a:documentation&gt;

    &lt;define name="XFRAMES.frame.content"&gt;
      &lt;empty/&gt;
    &lt;/define&gt;

    &lt;define name="frame"&gt;
      &lt;element name="frame"&gt;
        &lt;ref name="attlist.frame"/&gt;
        &lt;ref name="XFRAMES.frame.content"/&gt;
      &lt;/element&gt;
    &lt;/define&gt;

    &lt;define name="attlist.frame" combine="interleave"&gt;
      &lt;ref name="XFRAMES.Common.attrib"/&gt;
      &lt;optional&gt;
        &lt;attribute name="source"&gt;
          &lt;ref name="URI.datatype"/&gt;
        &lt;/attribute&gt;
      &lt;/optional&gt;
    &lt;/define&gt;
  &lt;/div&gt;

&lt;/grammar&gt;</pre>

<h3><a id="a_XMLSchema_definition" name="a_XMLSchema_definition">A.3&#xa0;&#xa0;XML
Schema Implementation</a></h3>

<pre class="xsd">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.w3.org/2002/06/xframes/"
    xmlns="http://www.w3.org/2002/06/xframes/"
    xmlns:xml="http://www.w3.org/XML/1998/namespace"
    elementFormDefault="qualified"&gt;

  &lt;xs:annotation&gt;
    &lt;xs:documentation xml:lang="en"&gt;
      This is XFrames - an XML application for composing documents together.
      URI: http://www.w3.org/MarkUp/SCHEMA/xframes-1.xsd
     
      Copyright ©2002-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.

        Editor:   Masayasu Ishikawa (mimasa@w3.org)
        Revision: &#36;Id: xframes-1.xsd,v 1.3 2005/10/05 23:57:23 mimasa Exp &#36;

      Permission to use, copy, modify and distribute this XML Schema for
      XFrames and its accompanying documentation for any purpose and without
      fee is hereby granted in perpetuity, provided that the above copyright
      notice and this paragraph appear in all copies. The copyright holders
      make no representation about the suitability of this XML Schema
      for any purpose.

      It is provided "as is" without expressed or implied warranty.
    &lt;/xs:documentation&gt;
  &lt;/xs:annotation&gt;

  &lt;xs:import namespace="http://www.w3.org/XML/1998/namespace"
    schemaLocation="http://www.w3.org/2001/xml.xsd"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation xml:lang="en"&gt;
        Get access to the XML namespace
      &lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
  &lt;/xs:import&gt;

  &lt;xs:annotation&gt;
    &lt;xs:documentation xml:lang="en"&gt;
      Datatypes
    &lt;/xs:documentation&gt;
  &lt;/xs:annotation&gt;

  &lt;xs:simpleType name="ContentType.datatype"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation xml:lang="en"&gt;
        media type, as per [RFC2045]
      &lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:restriction base="xs:string"/&gt;
  &lt;/xs:simpleType&gt;

  &lt;xs:simpleType name="MediaDesc.datatype"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation&gt;
        A comma-separated list of media descriptors as described by [CSS2].
        The default is all.
      &lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:restriction base="xs:string"&gt;
      &lt;xs:pattern value="[^,]+(,\s*[^,]+)*"/&gt;
    &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;

  &lt;xs:simpleType name="QName.datatype"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation&gt;
        An [XMLNS]-qualified name.
      &lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:restriction base="xs:QName"/&gt;
  &lt;/xs:simpleType&gt;

  &lt;xs:simpleType name="URI.datatype"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation xml:lang="en"&gt;
        An Internationalized Resource Identifier Reference, as defined
        by [IRI].
      &lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:restriction base="xs:anyURI"/&gt;
  &lt;/xs:simpleType&gt;

  &lt;xs:attributeGroup name="Common.attrib"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation xml:lang="en"&gt;
        Common attributes
      &lt;/xs:documentation&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:attribute name="class" type="xs:NMTOKENS"/&gt;
    &lt;xs:attribute ref="xml:id"/&gt;
    &lt;xs:attribute name="title" type="xs:string"/&gt;
  &lt;/xs:attributeGroup&gt;

  &lt;xs:element name="frames"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element minOccurs="0" maxOccurs="1" ref="head"/&gt;
        &lt;xs:choice&gt;
          &lt;xs:element ref="group"/&gt;
          &lt;xs:element minOccurs="1" maxOccurs="unbounded" ref="frame"/&gt;
        &lt;/xs:choice&gt;
      &lt;/xs:sequence&gt;
      &lt;xs:attributeGroup ref="Common.attrib"/&gt;
      &lt;xs:attribute ref="xml:base"/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

  &lt;xs:element name="head"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element ref="title"/&gt;
        &lt;xs:element minOccurs="0" maxOccurs="unbounded" ref="style"/&gt;
      &lt;/xs:sequence&gt;
      &lt;xs:attributeGroup ref="Common.attrib"/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

  &lt;xs:element name="title"&gt;
    &lt;xs:complexType mixed="true"&gt;
      &lt;xs:attributeGroup ref="Common.attrib"/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

  &lt;xs:element name="style"&gt;
    &lt;xs:complexType mixed="true"&gt;
      &lt;xs:attributeGroup ref="Common.attrib"/&gt;
      &lt;xs:attribute name="type" type="ContentType.datatype" use="required"/&gt;
      &lt;xs:attribute name="media" type="MediaDesc.datatype"/&gt;
      &lt;xs:attribute name="source" type="URI.datatype"/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

  &lt;xs:element name="group"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:choice minOccurs="1" maxOccurs="unbounded"&gt;
        &lt;xs:element ref="group"/&gt;
        &lt;xs:element ref="frame"/&gt;
      &lt;/xs:choice&gt;
      &lt;xs:attributeGroup ref="Common.attrib"/&gt;
      &lt;xs:attribute name="compose" default="vertical"&gt;
        &lt;xs:simpleType&gt;
          &lt;xs:union memberTypes="QName.datatype"&gt;
            &lt;xs:simpleType&gt;
             &lt;xs:restriction base="xs:token"&gt;
               &lt;xs:enumeration value="vertical"/&gt;
               &lt;xs:enumeration value="horizontal"/&gt;
               &lt;xs:enumeration value="single"/&gt;
               &lt;xs:enumeration value="free"/&gt;
             &lt;/xs:restriction&gt;
           &lt;/xs:simpleType&gt;
          &lt;/xs:union&gt;
        &lt;/xs:simpleType&gt;
      &lt;/xs:attribute&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

  &lt;xs:element name="frame"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:attributeGroup ref="Common.attrib"/&gt;
      &lt;xs:attribute name="source" type="URI.datatype"/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

&lt;/xs:schema&gt;</pre>
<!--OddPage-->

<h2><a id="a_refs" name="a_refs">B&#xa0;&#xa0;References</a></h2>

<p>This appendix is <em>normative</em>.</p>

<h3><a id="a_norm-refs" name="a_norm-refs">B.1&#xa0;&#xa0;Normative References</a></h3>

<dl>
  <dt>[<a id="ref_iri" name="ref_iri">IRI</a>]</dt>
    <dd>"<cite><a href="http://www.rfc-editor.org/rfc/rfc3987.txt">RFC3987:
      Internationalized Resource Identifiers (IRIs)</a></cite>",
      M. Dürst, M. Suignard, January 2005.<br />
      Available at: http://www.rfc-editor.org/rfc/rfc3987.txt</dd>
  <dt>[<a id="ref_name" name="ref_name">NAME</a>]</dt>
    <dd>"<cite><a
      href="http://www.w3.org/TR/1999/REC-xml-names-19990114/">Namespaces in
      XML</a></cite>", W3C Recommendation, T. Bray, D. Hollander, A. Layman,
      <abbr title="editors">eds.</abbr>, 14 January 1999.<br />
      Available at: http://www.w3.org/TR/1999/REC-xml-names-19990114<br />
      The <a href="http://www.w3.org/TR/REC-xml-names/">latest version</a> is
      available at: http://www.w3.org/TR/REC-xml-names</dd>
  <dt>[<a id="ref_uri" name="ref_uri">URI</a>]</dt>
    <dd>"<cite><a href="http://www.rfc-editor.org/rfc/rfc3986.txt">RFC3986:
      Uniform Resource Identifier (URI): Generic Syntax</a></cite>", T.
      Berners-Lee, R. Fielding, L. Masinter, January 2005.<br />
      Available at: http://www.rfc-editor.org/rfc/rfc3986.txt</dd>
  <dt>[<a id="ref_xmlbase" name="ref_xmlbase">XMLBASE</a>]</dt>
    <dd>"<cite><a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/">XML
      Base</a></cite>", W3C Recommendation, J. Marsh, <abbr
      title="editor">ed.</abbr>, 27 June 2001.<br />
      Available at: http://www.w3.org/TR/2001/REC-xmlbase-20010627<br />
      The <a href="http://www.w3.org/TR/xmlbase/">latest version</a> is
      available at: http://www.w3.org/TR/xmlbase</dd>
  <dt>[<a id="ref_xmlid" name="ref_xmlid">XMLID</a>]</dt>
    <dd>"<cite><a href="http://www.w3.org/TR/2005/REC-xml-id-20050909/">xml:id
      Version 1.0</a></cite>", W3C Recommendation, J. Marsh, D. Veillard,
      N. Walsh, <abbr title="editor">ed.</abbr>, 9 September 2005.<br />
      Available at: http://www.w3.org/TR/2005/REC-xml-id-20050909/<br />
      The <a href="http://www.w3.org/TR/xml-id/">latest version</a> is
      available at: http://www.w3.org/TR/xml-id/</dd>
</dl>

<h3><a id="a_other-refs" name="a_other-refs">B.2&#xa0;&#xa0;Other References</a></h3>

<dl>
  <dt>[<a name="ref_css" id="ref_css">CSS2</a>]</dt>
    <dd>"<cite><a
      href="http://www.w3.org/TR/1998/REC-CSS2-19980512/">Cascading Style
      Sheets, level 2 (CSS2) Specification</a></cite>", W3C Recommendation,
      B. Bos, H. W. Lie, C. Lilley, I. Jacobs, <abbr>eds.</abbr>, 12 May
      1998.<br />
      Available at: http://www.w3.org/TR/1998/REC-CSS2-19980512<br />
      The <a href="http://www.w3.org/TR/REC-CSS2/">latest version</a> is
      available at: http://www.w3.org/TR/REC-CSS2</dd>
  <dt>[<a id="ref_html" name="ref_html">HTML4</a>]</dt>
    <dd>"<cite><a href="http://www.w3.org/TR/1999/REC-html401-19991224/">HTML
      4.01 Specification</a></cite>", W3C Recommendation, D. Raggett, A.
      Le&nbsp;Hors, I. Jacobs, <abbr>eds.</abbr>, 24 December 1999.<br />
      Available at: http://www.w3.org/TR/1999/REC-html401-19991224<br />
      The <a href="http://www.w3.org/TR/html4/">latest version</a> is
      available at: http://www.w3.org/TR/html4</dd>
  <dt>[<a id="ref_xhtml">XHTML</a>]</dt>
    <dd>"<cite><a
      href="http://www.w3.org/TR/2002/REC-xhtml1-20020801/">XHTML™ 1.0 The
      Extensible HyperText Markup Language (Second Edition): A Reformulation
      of HTML 4 in XML 1.0</a></cite>", W3C Recommendation, S. Pemberton
      <span xml:lang="la" lang="la">et al.</span>, 1 August 2002.<br />
      Available at: http://www.w3.org/TR/2002/REC-xhtml1-20020801<br />
      The <a href="http://www.w3.org/TR/xhtml1/">latest version</a> is
      available at: http://www.w3.org/TR/xhtml1</dd>
</dl>
<!--OddPage-->

<h2><a id="a_acks" name="a_acks">C&#xa0;&#xa0;Acknowledgments</a></h2>

<p><em>This section is informative.</em></p>

<p>This document was prepared by
the <acronym title="World Wide Web Consortium">W3C</acronym>
<acronym title="Extensible HyperText Markup Language">XHTML2</acronym> Working Group.
The members at the time of publication of the second edition were:</p>

<ul>
<li>Markus Gylling, <a href="http://www.daisy.org">DAISY Consortium</a>
(<acronym title="Extensible HyperText Markup Language">XHTML</acronym> 2 Working Group Co-Chair)</li>
<li>Steven Pemberton, <acronym title="Centrum voor Wiskunde en Informatica"
    xml:lang="nl">CWI</acronym> 
(<acronym title="Extensible HyperText Markup Language">XHTML</acronym> 2 Working Group Co-Chair)</li>
<li>Mark Birbeck, webBackplane (Invited Expert)</li>
<li>Susan Borgrink, Progeny Systems</li>
<li>Christina Bottomley, Society for Technical Communication (STC)</li>
<li>Alessio Cartocci, International Webmasters Association / HTML Writers Guild (IWA-HWG)</li>
<li>Alexander Graf, University of Innsbruck</li>
<li>Tina Holmboe, Greytower Technologies (Invited Expert)</li>
<li>John Kugelman, Progeny Systems</li>
<li>Luca Mascaro, International Webmasters Association / HTML Writers Guild (IWA-HWG)</li>
<li>Shane McCarron, Applied Testing and Technology, Inc. (Invited Expert)</li>
<li>Michael Rawling, IVIS Group Limited</li>
<li>Gregory Rosmaita, Invited Expert</li>
<li>Sebastian Schnitzenbaumer, Dreamlab Technologies AG</li>
<li>Richard Schwerdtfeger,
<acronym title="International Business Machines">IBM</acronym></li>
<li>Elias Torres, 
<acronym title="International Business Machines">IBM</acronym></li>
<li>Masataka Yakura, Mitsue-Links Co., Ltd.</li>
<li>Toshihiko Yamakami, ACCESS Co., Ltd. </li>
</ul>

</body>
</html>