2 PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Schema documentation for </title>
7 <link rel="stylesheet" href="docHtml.css" type="text/css" /><script type="text/javascript">
11 var button_prefix = 'button_';
14 * Returns an element in the current HTML document.
16 * @param elementID Identifier of HTML element
17 * @return HTML element object
19 function getElementObject(elementID) {
21 if (document.getElementById) {
22 elemObj = document.getElementById(elementID);
28 * Switches the state of a collapseable box, e.g.
29 * if it's opened, it'll be closed, and vice versa.
31 * @param boxID Identifier of box
33 function switchState(boxID) {
34 var boxObj = getElementObject(boxID);
35 var buttonObj = getElementObject(button_prefix + boxID);
36 if (boxObj == null || buttonObj == null) {
37 // Box or button not found
38 } else if (boxObj.style.display == "none") {
39 // Box is closed, so open it
40 openBox(boxObj, buttonObj);
41 } else if (boxObj.style.display == "block") {
42 // Box is opened, so close it
43 closeBox(boxObj, buttonObj);
48 * Opens a collapseable box.
50 * @param boxObj Collapseable box
51 * @param buttonObj Button controlling box
53 function openBox(boxObj, buttonObj) {
54 if (boxObj == null || buttonObj == null) {
55 // Box or button not found
57 // Change 'display' CSS property of box
58 boxObj.style.display = "block";
60 // Change text of button
61 if (boxObj.style.display == "block") {
62 buttonObj.src = "img/btM.gif";
68 * Closes a collapseable box.
70 * @param boxObj Collapseable box
71 * @param buttonObj Button controlling box
73 function closeBox(boxObj, buttonObj) {
74 if (boxObj == null || buttonObj == null) {
75 // Box or button not found
77 // Change 'display' CSS property of box
78 boxObj.style.display = "none";
80 // Change text of button
81 if (boxObj.style.display == "none") {
82 buttonObj.src = "img/btP.gif";
87 function switchStateForAll(buttonObj, boxList) {
88 if (buttonObj == null) {
90 } else if (buttonObj.value == "+") {
93 buttonObj.value = "-";
94 } else if (buttonObj.value == "-") {
97 buttonObj.value = "+";
102 * Closes all boxes in a given list.
104 * @param boxList Array of box IDs
106 function collapseAll(boxList) {
108 for (idx = 0; idx < boxList.length; idx++) {
109 var boxObj = getElementObject(boxList[idx]);
110 var buttonObj = getElementObject(button_prefix + boxList[idx]);
111 closeBox(boxObj, buttonObj);
116 * Open all boxes in a given list.
118 * @param boxList Array of box IDs
120 function expandAll(boxList) {
122 for (idx = 0; idx < boxList.length; idx++) {
123 var boxObj = getElementObject(boxList[idx]);
124 var buttonObj = getElementObject(button_prefix + boxList[idx]);
125 openBox(boxObj, buttonObj);
130 * Update the message presented in the title of the html page.
131 * - If the documentation was splited by namespace we present something like: "Documentation for namespace 'ns'"
132 * - If the documentation was splited by location we present somehing like: "Documentation for 'Schema.xsd'"
133 * - If no split we always present: "Documentation for 'MainSchema.xsd'"
135 function updatePageTitle(message) {
136 top.document.title = message;
142 * Finds an HTML element by its ID and makes it floatable over the normal content.
144 * @param x_displacement The difference in pixels to the right side of the window from
145 * the left side of the element.
146 * @param y_displacement The difference in pixels to the right side of the window from
147 * the top of the element.
149 function findAndFloat(id, x_displacement, y_displacement){
151 var element = getElementObject(id);
153 window[id + "_obj"] = element;
155 if(document.layers) {
156 element.style = element;
159 element.current_y = y_displacement;
160 element.first_time = true;
162 element.floatElement = function(){
163 // It may be closed by an user action.
165 // Target X and Y coordinates.
168 var myWidth = 0, myHeight = 0;
169 if( typeof( window.innerWidth ) == 'number' ) {
171 myWidth = window.innerWidth;
172 myHeight = window.innerHeight;
173 } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
174 //IE 6+ in 'standards compliant mode'
175 myWidth = document.documentElement.clientWidth;
176 myHeight = document.documentElement.clientHeight;
177 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
179 myWidth = document.body.clientWidth;
180 myHeight = document.body.clientHeight;
184 x = myWidth - x_displacement;
186 var ns = (navigator.appName.indexOf("Netscape") != -1);
187 y = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ?
188 document.documentElement.scrollTop : document.body.scrollTop;
189 y = y + y_displacement;
191 // The current y is the current coordinate of the floating element.
192 // This should be at the limit the y target coordinate.
193 this.current_y += (y - this.current_y)/1.25;
195 // Add the pixels constant after the values
196 // and move the element.
197 var px = document.layers ? "" : "px";
198 this.style.left = x + px;
199 this.style.top = this.current_y + px;
201 setTimeout(this.id + "_obj.floatElement()", 100);
204 element.floatElement();
209 * Finds an HTML element by its ID and makes it floatable over the normal content.
211 * @param x_displacement The difference in pixels to the right side of the window from
212 * the left side of the element.
213 * @param y_displacement The difference in pixels to the right side of the window from
214 * the top of the element.
216 function selectTOCGroupBy(id, isChunked, indexFileLocation, indexFileNamespace, indexFileComponent){
219 var selectIds = new Array('toc_group_by_namespace', 'toc_group_by_location', 'toc_group_by_component_type');
220 // Make all the tabs invisible.
221 for (i = 0; i < 3; i++){
222 var tab = getElementObject(selectIds[i]);
223 tab.style.display = 'none';
225 var selTab = getElementObject(id);
226 selTab.style.display = 'block';
228 if (id == 'toc_group_by_namespace') {
229 parent.indexFrame.location = indexFileNamespace;
230 } else if (id == 'toc_group_by_location') {
231 parent.indexFrame.location = indexFileLocation;
232 } else if (id == 'toc_group_by_component_type') {
233 parent.indexFrame.location = indexFileComponent;
240 //--></script></head>
242 <h2><a id="INDEX">Table of Contents</a></h2>
245 <div><span> Group by: <select id="selectTOC" onchange="selectTOCGroupBy(this.options[this.selectedIndex].value, true, 'phyloxml.indexList.html', 'phyloxml.indexListns.html', 'phyloxml.indexListcomp.html');">
246 <option value="toc_group_by_namespace">Namespace</option>
247 <option value="toc_group_by_location">Location</option>
248 <option value="toc_group_by_component_type" selected="selected">Component Type</option></select></span></div>
250 <div class="level1" id="toc_group_by_component_type" style="display:block">
252 <div class="horizontalLayout">
255 <td class="rt_cornerTopLeft"></td>
256 <td class="rt_lineTop"></td>
257 <td class="rt_cornerTopRight"></td>
260 <td class="rt_lineLeft"></td>
261 <td class="rt_content">
262 <table class="componentGroup">
265 <td class="componentGroup"><input id="button_Element" type="image" value="-" src="img/btM.gif" onclick="switchState('Element');" class="control" /></td>
266 <td class="componentGroup">
267 <div class="componentGroupTitle">Elements</div>
271 <td class="componentGroup"></td>
272 <td class="componentGroup">
273 <div id="Element" class="componentGroup" style="display:block">
274 <div><b><a href="phyloxml_xsd.html#phyloxml" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:phyloxml</a></b></div>
281 <td class="rt_lineRight"></td>
284 <td class="rt_cornerBottomLeft"></td>
285 <td class="rt_lineBottom"></td>
286 <td class="rt_cornerBottomRight"></td>
290 <div class="horizontalLayout">
293 <td class="rt_cornerTopLeft"></td>
294 <td class="rt_lineTop"></td>
295 <td class="rt_cornerTopRight"></td>
298 <td class="rt_lineLeft"></td>
299 <td class="rt_content">
300 <table class="componentGroup">
303 <td class="componentGroup"><input id="button_Complex_Type" type="image" value="-" src="img/btM.gif" onclick="switchState('Complex_Type');" class="control" /></td>
304 <td class="componentGroup">
305 <div class="componentGroupTitle">Complex Types</div>
309 <td class="componentGroup"></td>
310 <td class="componentGroup">
311 <div id="Complex_Type" class="componentGroup" style="display:block">
312 <div><b><a href="phyloxml_xsd.html#Accession" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Accession</a></b></div>
313 <div><b><a href="phyloxml_xsd.html#Annotation" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Annotation</a></b></div>
314 <div><b><a href="phyloxml_xsd.html#BinaryCharacterList" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:BinaryCharacterList</a></b></div>
315 <div><b><a href="phyloxml_xsd.html#BinaryCharacters" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:BinaryCharacters</a></b></div>
316 <div><b><a href="phyloxml_xsd.html#BranchColor" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:BranchColor</a></b></div>
317 <div><b><a href="phyloxml_xsd.html#Clade" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Clade</a></b></div>
318 <div><b><a href="phyloxml_xsd.html#CladeRelation" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:CladeRelation</a></b></div>
319 <div><b><a href="phyloxml_xsd.html#Confidence" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Confidence</a></b></div>
320 <div><b><a href="phyloxml_xsd.html#CrossReferences" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:CrossReferences</a></b></div>
321 <div><b><a href="phyloxml_xsd.html#Date" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Date</a></b></div>
322 <div><b><a href="phyloxml_xsd.html#Distribution" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Distribution</a></b></div>
323 <div><b><a href="phyloxml_xsd.html#DomainArchitecture" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:DomainArchitecture</a></b></div>
324 <div><b><a href="phyloxml_xsd.html#Events" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Events</a></b></div>
325 <div><b><a href="phyloxml_xsd.html#Id" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Id</a></b></div>
326 <div><b><a href="phyloxml_xsd.html#MolSeq" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:MolSeq</a></b></div>
327 <div><b><a href="phyloxml_xsd.html#Phylogeny" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Phylogeny</a></b></div>
328 <div><b><a href="phyloxml_xsd.html#http___www.phyloxml.org_Phyloxml" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Phyloxml</a></b></div>
329 <div><b><a href="phyloxml_xsd.html#Point" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Point</a></b></div>
330 <div><b><a href="phyloxml_xsd.html#Polygon" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Polygon</a></b></div>
331 <div><b><a href="phyloxml_xsd.html#Property" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Property</a></b></div>
332 <div><b><a href="phyloxml_xsd.html#ProteinDomain" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:ProteinDomain</a></b></div>
333 <div><b><a href="phyloxml_xsd.html#Reference" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Reference</a></b></div>
334 <div><b><a href="phyloxml_xsd.html#Sequence" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Sequence</a></b></div>
335 <div><b><a href="phyloxml_xsd.html#SequenceRelation" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:SequenceRelation</a></b></div>
336 <div><b><a href="phyloxml_xsd.html#Taxonomy" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Taxonomy</a></b></div>
337 <div><b><a href="phyloxml_xsd.html#Uri" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Uri</a></b></div>
344 <td class="rt_lineRight"></td>
347 <td class="rt_cornerBottomLeft"></td>
348 <td class="rt_lineBottom"></td>
349 <td class="rt_cornerBottomRight"></td>
353 <div class="horizontalLayout">
356 <td class="rt_cornerTopLeft"></td>
357 <td class="rt_lineTop"></td>
358 <td class="rt_cornerTopRight"></td>
361 <td class="rt_lineLeft"></td>
362 <td class="rt_content">
363 <table class="componentGroup">
366 <td class="componentGroup"><input id="button_Simple_Type" type="image" value="-" src="img/btM.gif" onclick="switchState('Simple_Type');" class="control" /></td>
367 <td class="componentGroup">
368 <div class="componentGroupTitle">Simple Types</div>
372 <td class="componentGroup"></td>
373 <td class="componentGroup">
374 <div id="Simple_Type" class="componentGroup" style="display:block">
375 <div><b><a href="phyloxml_xsd.html#AppliesTo" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:AppliesTo</a></b></div>
376 <div><b><a href="phyloxml_xsd.html#EventType" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:EventType</a></b></div>
377 <div><b><a href="phyloxml_xsd.html#PropertyDataType" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:PropertyDataType</a></b></div>
378 <div><b><a href="phyloxml_xsd.html#Rank" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:Rank</a></b></div>
379 <div><b><a href="phyloxml_xsd.html#SequenceRelationType" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:SequenceRelationType</a></b></div>
380 <div><b><a href="phyloxml_xsd.html#SequenceSymbol" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:SequenceSymbol</a></b></div>
381 <div><b><a href="phyloxml_xsd.html#SequenceType" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:SequenceType</a></b></div>
382 <div><b><a href="phyloxml_xsd.html#TaxonomyCode" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:TaxonomyCode</a></b></div>
383 <div><b><a href="phyloxml_xsd.html#id_ref" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:id_ref</a></b></div>
384 <div><b><a href="phyloxml_xsd.html#id_source" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:id_source</a></b></div>
385 <div><b><a href="phyloxml_xsd.html#ref" target="mainFrame" title="http://www.phyloxml.org" onclick="updatePageTitle('Schema documentation for phyloxml.xsd')">phy:ref</a></b></div>
392 <td class="rt_lineRight"></td>
395 <td class="rt_cornerBottomLeft"></td>
396 <td class="rt_lineBottom"></td>
397 <td class="rt_cornerBottomRight"></td>
401 <div style="clear:left"></div>