1 | |
---|
2 | <!DOCTYPE html |
---|
3 | PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
5 | <head> |
---|
6 | <title>Documentation for WITSML_Composite - attgrp_uid.xsd</title> |
---|
7 | <meta http-equiv="Content-Type" content="text/xml; charset=UTF-8"/> |
---|
8 | <style type="text/css"> |
---|
9 | /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ |
---|
10 | /* More-configurable styles */ |
---|
11 | |
---|
12 | /******** General ********/ |
---|
13 | |
---|
14 | /* Document body */ |
---|
15 | body { |
---|
16 | color: Black; |
---|
17 | background-color: White; |
---|
18 | font-family: Arial, sans-serif; |
---|
19 | font-size: 10pt; |
---|
20 | } |
---|
21 | |
---|
22 | /* Horizontal rules */ |
---|
23 | hr { |
---|
24 | color: black; |
---|
25 | } |
---|
26 | /* Document title */ |
---|
27 | h1 { |
---|
28 | font-size: 18pt; |
---|
29 | letter-spacing: 2px; |
---|
30 | border-bottom: 1px #ccc solid; |
---|
31 | padding-top: 5px; |
---|
32 | padding-bottom: 5px; |
---|
33 | } |
---|
34 | /* Main section headers */ |
---|
35 | h2 { |
---|
36 | font-size: 14pt; |
---|
37 | letter-spacing: 1px; |
---|
38 | } |
---|
39 | /* Sub-section headers */ |
---|
40 | h3, h3 a, h3 span { |
---|
41 | font-size: 12pt; |
---|
42 | font-weight: bold; |
---|
43 | color: black; |
---|
44 | } |
---|
45 | /* Table displaying the properties of the schema components or the |
---|
46 | schema document itself */ |
---|
47 | table.properties th, table.properties th a { |
---|
48 | color: black; |
---|
49 | background-color: #F99; /* Pink */ |
---|
50 | } |
---|
51 | table.properties td { |
---|
52 | background-color: #eee; /* Gray */ |
---|
53 | } |
---|
54 | |
---|
55 | img{ |
---|
56 | border: 0; |
---|
57 | } |
---|
58 | |
---|
59 | /********* Documentation style *************/ |
---|
60 | p.documentation { |
---|
61 | color:black; |
---|
62 | font-style:italic; |
---|
63 | background-color: #EEEEFF; |
---|
64 | border: 1px solid #DDDDFF; |
---|
65 | padding-top: 1px; |
---|
66 | margin-right: 30px; |
---|
67 | margin-top: 1px; |
---|
68 | } |
---|
69 | |
---|
70 | |
---|
71 | /******** Table of Contents Section ********/ |
---|
72 | |
---|
73 | /* Controls for switching between printing and viewing modes */ |
---|
74 | div#printerControls { |
---|
75 | color: #963; /* Orange-brown */ |
---|
76 | } |
---|
77 | /* Controls that can collapse or expand all XML Instance |
---|
78 | Representation and Schema Component Representation boxes */ |
---|
79 | div#globalControls { |
---|
80 | border: 2px solid #999; |
---|
81 | } |
---|
82 | |
---|
83 | |
---|
84 | /******** Schema Document Properties Section ********/ |
---|
85 | |
---|
86 | /* Table displaying the namespaces declared in the schema */ |
---|
87 | table.namespaces th { |
---|
88 | background-color: #ccc; |
---|
89 | } |
---|
90 | table.namespaces td { |
---|
91 | background-color: #eee; |
---|
92 | } |
---|
93 | /* Target namespace of the schema */ |
---|
94 | span.targetNS { |
---|
95 | color: #06C; |
---|
96 | font-weight: bold; |
---|
97 | } |
---|
98 | |
---|
99 | |
---|
100 | /******** Schema Components' Sections ********/ |
---|
101 | |
---|
102 | /* Name of schema component */ |
---|
103 | .name { |
---|
104 | color: #F93; /* Orange */ |
---|
105 | } |
---|
106 | |
---|
107 | /* Hierarchy table */ |
---|
108 | table.hierarchy { |
---|
109 | border: 2px solid #999; /* Gray */ |
---|
110 | } |
---|
111 | |
---|
112 | /* XML Instance Representation table */ |
---|
113 | div.sample div.contents { |
---|
114 | border: 1px dashed black; |
---|
115 | } |
---|
116 | |
---|
117 | |
---|
118 | /* Schema Component Representation table */ |
---|
119 | div.schemaComponent div.contents { |
---|
120 | border: 2px black solid; |
---|
121 | } |
---|
122 | |
---|
123 | |
---|
124 | /******** Glossary Section ********/ |
---|
125 | |
---|
126 | /* Glossary Terms */ |
---|
127 | .glossaryTerm { |
---|
128 | color: #036; /* Blue */ |
---|
129 | } |
---|
130 | |
---|
131 | |
---|
132 | /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ |
---|
133 | /* Printer-version styles */ |
---|
134 | |
---|
135 | @media print { |
---|
136 | |
---|
137 | /* Ensures that controls are hidden when printing */ |
---|
138 | div#printerControls { |
---|
139 | visibility: hidden; |
---|
140 | } |
---|
141 | div#globalControls { |
---|
142 | visibility: hidden; |
---|
143 | } |
---|
144 | #legend { |
---|
145 | display: none; |
---|
146 | } |
---|
147 | #legendTOC { |
---|
148 | display: none; |
---|
149 | } |
---|
150 | #glossary { |
---|
151 | display: none; |
---|
152 | } |
---|
153 | #glossaryTOC { |
---|
154 | display: none; |
---|
155 | } |
---|
156 | |
---|
157 | } |
---|
158 | |
---|
159 | /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ |
---|
160 | /* Base styles */ |
---|
161 | |
---|
162 | /******** General ********/ |
---|
163 | |
---|
164 | /* Unordered lists */ |
---|
165 | ul { |
---|
166 | margin-left: 1.5em; |
---|
167 | margin-bottom: 0em; |
---|
168 | } |
---|
169 | /* Tables */ |
---|
170 | table { |
---|
171 | margin-top: 10px; |
---|
172 | margin-bottom: 10px; |
---|
173 | margin-left: 2px; |
---|
174 | margin-right: 2px; |
---|
175 | } |
---|
176 | table th, table td { |
---|
177 | font-size: 10pt; |
---|
178 | vertical-align: top; |
---|
179 | padding-top: 3px; |
---|
180 | padding-bottom: 3px; |
---|
181 | padding-left: 10px; |
---|
182 | padding-right: 10px; |
---|
183 | } |
---|
184 | table th { |
---|
185 | font-weight: bold; |
---|
186 | text-align: left; |
---|
187 | } |
---|
188 | /* Table displaying the properties of the schema components or the |
---|
189 | schema document itself */ |
---|
190 | table.properties { |
---|
191 | width: 90%; |
---|
192 | } |
---|
193 | table.properties th { |
---|
194 | width: 30%; |
---|
195 | } |
---|
196 | /* Boxes that can make its content appear and disappear*/ |
---|
197 | div.box { |
---|
198 | margin: 1em; |
---|
199 | } |
---|
200 | /* Box caption */ |
---|
201 | div.box span.caption { |
---|
202 | font-weight: bold; |
---|
203 | } |
---|
204 | /* Button to open and close the box */ |
---|
205 | div.box input.control { |
---|
206 | width: 1.4em; |
---|
207 | height: 1.4em; |
---|
208 | text-align: center; |
---|
209 | vertical-align: middle; |
---|
210 | font-size: 11pt; |
---|
211 | } |
---|
212 | /* Box contents */ |
---|
213 | div.box div.contents { |
---|
214 | margin-top: 3px; |
---|
215 | } |
---|
216 | |
---|
217 | |
---|
218 | /******** Table of Contents Section ********/ |
---|
219 | |
---|
220 | /* Controls for switching between printing and viewing modes */ |
---|
221 | div#printerControls { |
---|
222 | white-space: nowrap; |
---|
223 | font-weight: bold; |
---|
224 | padding: 5px; |
---|
225 | margin: 5px; |
---|
226 | } |
---|
227 | /* Controls that can collapse or expand all XML Instance |
---|
228 | Representation and Schema Component Representation boxes */ |
---|
229 | div#globalControls { |
---|
230 | padding: 10px; |
---|
231 | margin: 5px; |
---|
232 | } |
---|
233 | |
---|
234 | |
---|
235 | /******** Schema Document Properties Section ********/ |
---|
236 | |
---|
237 | /* Table displaying the namespaces declared in the schema */ |
---|
238 | table.namespaces th { |
---|
239 | } |
---|
240 | table.namespaces td { |
---|
241 | } |
---|
242 | /* Target namespace of the schema */ |
---|
243 | span.targetNS { |
---|
244 | } |
---|
245 | |
---|
246 | |
---|
247 | /******** Schema Components' Sections ********/ |
---|
248 | |
---|
249 | /* Name of schema component */ |
---|
250 | .name { |
---|
251 | } |
---|
252 | |
---|
253 | /* Hierarchy table */ |
---|
254 | table.hierarchy { |
---|
255 | width: 90%; |
---|
256 | } |
---|
257 | table.hierarchy th { |
---|
258 | font-weight: normal; |
---|
259 | font-style: italic; |
---|
260 | width: 20%; |
---|
261 | } |
---|
262 | table.hierarchy th, table.hierarchy td { |
---|
263 | padding: 5px; |
---|
264 | } |
---|
265 | |
---|
266 | /* XML Instance Representation table */ |
---|
267 | div.sample { |
---|
268 | width: 90%; |
---|
269 | } |
---|
270 | div.sample div.contents { |
---|
271 | padding: 5px; |
---|
272 | font-family: Courier New, sans-serif; |
---|
273 | font-size: 10pt; |
---|
274 | } |
---|
275 | /* Normal elements and attributes */ |
---|
276 | div.sample div.contents, div.sample div.contents a { |
---|
277 | color: black; |
---|
278 | } |
---|
279 | /* Group Headers */ |
---|
280 | div.sample div.contents .group, div.sample div.contents .group a { |
---|
281 | color: #999; /* Light gray */ |
---|
282 | } |
---|
283 | /* Type Information */ |
---|
284 | div.sample div.contents .type, div.sample div.contents .type a { |
---|
285 | color: #999; /* Light gray */ |
---|
286 | } |
---|
287 | /* Occurrence Information */ |
---|
288 | div.sample div.contents .occurs, div.sample div.contents .occurs a { |
---|
289 | color: #999; /* Light gray */ |
---|
290 | } |
---|
291 | /* Fixed values */ |
---|
292 | div.sample div.contents .fixed { |
---|
293 | color: #063; /* Green */ |
---|
294 | font-weight: bold; |
---|
295 | } |
---|
296 | /* Simple type constraints */ |
---|
297 | div.sample div.contents .constraint, div.sample div.contents .constraint a { |
---|
298 | color: #999; /* Light gray */ |
---|
299 | } |
---|
300 | /* Elements and attributes inherited from base type */ |
---|
301 | div.sample div.contents .inherited, div.sample div.contents .inherited a { |
---|
302 | color: #666; /* Dark gray */ |
---|
303 | } |
---|
304 | /* Elements and attributes added to or changed from base type */ |
---|
305 | div.sample div.contents .newFields { |
---|
306 | font-weight: bold; |
---|
307 | } |
---|
308 | /* Other type of information */ |
---|
309 | div.sample div.contents .other, div.sample div.contents .other a { |
---|
310 | color: #369; /* Blue */ |
---|
311 | font-style: italic; |
---|
312 | } |
---|
313 | /* Link to open up window displaying documentation */ |
---|
314 | div.sample div.contents a.documentation { |
---|
315 | text-decoration: none; |
---|
316 | padding-left: 3px; |
---|
317 | padding-right: 3px; |
---|
318 | padding-top: 0px; |
---|
319 | padding-bottom: 0px; |
---|
320 | font-weight: bold; |
---|
321 | font-size: 11pt; |
---|
322 | background-color: #FFD; |
---|
323 | color: #069; |
---|
324 | } |
---|
325 | /* Invert colors when hovering over link to open up window |
---|
326 | displaying documentation */ |
---|
327 | div.sample div.contents a.documentation:hover { |
---|
328 | color: #FFD; |
---|
329 | background-color: #069; |
---|
330 | } |
---|
331 | |
---|
332 | /* Schema Component Representation table */ |
---|
333 | div.schemaComponent { |
---|
334 | width: 90%; |
---|
335 | } |
---|
336 | div.schemaComponent div.contents { |
---|
337 | font-family: Courier New, sans-serif; |
---|
338 | font-size: 10pt; |
---|
339 | padding: 5px; |
---|
340 | } |
---|
341 | /* Syntax characters */ |
---|
342 | div.schemaComponent div.contents { |
---|
343 | color: #00f; /* blue */ |
---|
344 | } |
---|
345 | /* Element and attribute tags */ |
---|
346 | div.schemaComponent div.contents .scTag { |
---|
347 | color: #933; /* maroon */ |
---|
348 | } |
---|
349 | /* Element and attribute content */ |
---|
350 | div.schemaComponent div.contents .scContent, div.schemaComponent div.contents .scContent a { |
---|
351 | color: black; |
---|
352 | font-weight: bold; |
---|
353 | } |
---|
354 | /* Comments */ |
---|
355 | div.schemaComponent div.contents .comment { |
---|
356 | color: #999; /* Light gray */ |
---|
357 | } |
---|
358 | |
---|
359 | /******** Legend Section ********/ |
---|
360 | |
---|
361 | div#legend table, div#legend div { |
---|
362 | margin-bottom: 3px; |
---|
363 | } |
---|
364 | div#legend div.hint { |
---|
365 | color: #999; /* Light gray */ |
---|
366 | width: 90%; |
---|
367 | margin-left: 1em; |
---|
368 | margin-bottom: 2em; |
---|
369 | } |
---|
370 | |
---|
371 | |
---|
372 | /******** Glossary Section ********/ |
---|
373 | |
---|
374 | /* Glossary Terms */ |
---|
375 | .glossaryTerm { |
---|
376 | font-weight: bold; |
---|
377 | } |
---|
378 | |
---|
379 | /********* Details *************/ |
---|
380 | .detailsToc { |
---|
381 | color: #666; /* Light gray */ |
---|
382 | } |
---|
383 | |
---|
384 | .details { |
---|
385 | color: #666; /* Light gray */ |
---|
386 | text-decoration:none; |
---|
387 | } |
---|
388 | |
---|
389 | /******** Footer ********/ |
---|
390 | |
---|
391 | .footer { |
---|
392 | font-size: 8pt; |
---|
393 | } |
---|
394 | </style> |
---|
395 | <script type="text/javascript"> |
---|
396 | <!-- |
---|
397 | /* IDs of XML Instance Representation boxes */ |
---|
398 | var xiBoxes = new Array('h-1931220815_xibox'); |
---|
399 | /* IDs of diagram boxes */ |
---|
400 | var diagramBoxes = new Array('h-1931220815_diagram'); |
---|
401 | /* IDs of logical diagram boxes */ |
---|
402 | var logicalDiagramBoxes = new Array(); |
---|
403 | /* IDs of Schema Component Representation boxes */ |
---|
404 | var scBoxes = new Array('schema_scbox', 'h-1931220815_scbox'); |
---|
405 | |
---|
406 | /** |
---|
407 | * Can get the ID of the button controlling |
---|
408 | * a collapseable box by concatenating |
---|
409 | * this string onto the ID of the box itself. |
---|
410 | */ |
---|
411 | var B_SFIX = "_button"; |
---|
412 | |
---|
413 | |
---|
414 | /** |
---|
415 | * Returns an element in the current HTML document. |
---|
416 | * |
---|
417 | * @param elementID Identifier of HTML element |
---|
418 | * @return HTML element object |
---|
419 | */ |
---|
420 | function getElementObject(elementID) { |
---|
421 | var elemObj = null; |
---|
422 | if (document.getElementById) { |
---|
423 | elemObj = document.getElementById(elementID); |
---|
424 | } |
---|
425 | return elemObj; |
---|
426 | } |
---|
427 | |
---|
428 | /** |
---|
429 | * Closes a collapseable box. |
---|
430 | * |
---|
431 | * @param boxObj Collapseable box |
---|
432 | * @param buttonObj Button controlling box |
---|
433 | */ |
---|
434 | function closeBox(boxObj, buttonObj) { |
---|
435 | if (boxObj == null || buttonObj == null) { |
---|
436 | // Box or button not found |
---|
437 | } else { |
---|
438 | // Change 'display' CSS property of box |
---|
439 | boxObj.style.display="none"; |
---|
440 | |
---|
441 | // Change text of button |
---|
442 | if (boxObj.style.display=="none") { |
---|
443 | buttonObj.value=" + "; |
---|
444 | } |
---|
445 | } |
---|
446 | } |
---|
447 | |
---|
448 | /** |
---|
449 | * Opens a collapseable box. |
---|
450 | * |
---|
451 | * @param boxObj Collapseable box |
---|
452 | * @param buttonObj Button controlling box |
---|
453 | */ |
---|
454 | function openBox(boxObj, buttonObj) { |
---|
455 | if (boxObj == null || buttonObj == null) { |
---|
456 | // Box or button not found |
---|
457 | } else { |
---|
458 | // Change 'display' CSS property of box |
---|
459 | boxObj.style.display="block"; |
---|
460 | |
---|
461 | // Change text of button |
---|
462 | if (boxObj.style.display=="block") { |
---|
463 | buttonObj.value=" - "; |
---|
464 | } |
---|
465 | } |
---|
466 | } |
---|
467 | |
---|
468 | /** |
---|
469 | * Sets the state of a collapseable box. |
---|
470 | * |
---|
471 | * @param boxID Identifier of box |
---|
472 | * @param open If true, box is "opened", |
---|
473 | * Otherwise, box is "closed". |
---|
474 | */ |
---|
475 | function setState(boxID, open) { |
---|
476 | var boxObj = getElementObject(boxID); |
---|
477 | var buttonObj = getElementObject(boxID+B_SFIX); |
---|
478 | if (boxObj == null || buttonObj == null) { |
---|
479 | // Box or button not found |
---|
480 | } else if (open) { |
---|
481 | openBox(boxObj, buttonObj); |
---|
482 | // Make button visible |
---|
483 | buttonObj.style.display="inline"; |
---|
484 | } else { |
---|
485 | closeBox(boxObj, buttonObj); |
---|
486 | // Make button visible |
---|
487 | buttonObj.style.display="inline"; |
---|
488 | } |
---|
489 | } |
---|
490 | |
---|
491 | /** |
---|
492 | * Switches the state of a collapseable box, e.g. |
---|
493 | * if it's opened, it'll be closed, and vice versa. |
---|
494 | * |
---|
495 | * @param boxID Identifier of box |
---|
496 | */ |
---|
497 | function switchState(boxID) { |
---|
498 | var boxObj = getElementObject(boxID); |
---|
499 | var buttonObj = getElementObject(boxID+B_SFIX); |
---|
500 | if (boxObj == null || buttonObj == null) { |
---|
501 | // Box or button not found |
---|
502 | } else if (boxObj.style.display=="none") { |
---|
503 | // Box is closed, so open it |
---|
504 | openBox(boxObj, buttonObj); |
---|
505 | } else if (boxObj.style.display=="block") { |
---|
506 | // Box is opened, so close it |
---|
507 | closeBox(boxObj, buttonObj); |
---|
508 | } |
---|
509 | } |
---|
510 | |
---|
511 | /** |
---|
512 | * Closes all boxes in a given list. |
---|
513 | * |
---|
514 | * @param boxList Array of box IDs |
---|
515 | */ |
---|
516 | function collapseAll(boxList) { |
---|
517 | var idx; |
---|
518 | for (idx = 0; idx < boxList.length; idx++) { |
---|
519 | var boxObj = getElementObject(boxList[idx]); |
---|
520 | var buttonObj = getElementObject(boxList[idx]+B_SFIX); |
---|
521 | closeBox(boxObj, buttonObj); |
---|
522 | } |
---|
523 | } |
---|
524 | |
---|
525 | /** |
---|
526 | * Open all boxes in a given list. |
---|
527 | * |
---|
528 | * @param boxList Array of box IDs |
---|
529 | */ |
---|
530 | function expandAll(boxList) { |
---|
531 | var idx; |
---|
532 | for (idx = 0; idx < boxList.length; idx++) { |
---|
533 | var boxObj = getElementObject(boxList[idx]); |
---|
534 | var buttonObj = getElementObject(boxList[idx]+B_SFIX); |
---|
535 | openBox(boxObj, buttonObj); |
---|
536 | } |
---|
537 | } |
---|
538 | |
---|
539 | /** |
---|
540 | * Makes all the control buttons of boxes appear. |
---|
541 | * |
---|
542 | * @param boxList Array of box IDs |
---|
543 | */ |
---|
544 | function viewControlButtons(boxList) { |
---|
545 | var idx; |
---|
546 | for (idx = 0; idx < boxList.length; idx++) { |
---|
547 | buttonObj = getElementObject(boxList[idx]+B_SFIX); |
---|
548 | if (buttonObj != null) { |
---|
549 | buttonObj.style.display = "inline"; |
---|
550 | } |
---|
551 | } |
---|
552 | } |
---|
553 | |
---|
554 | /** |
---|
555 | * Makes all the control buttons of boxes disappear. |
---|
556 | * |
---|
557 | * @param boxList Array of box IDs |
---|
558 | */ |
---|
559 | function hideControlButtons(boxList) { |
---|
560 | var idx; |
---|
561 | for (idx = 0; idx < boxList.length; idx++) { |
---|
562 | buttonObj = getElementObject(boxList[idx]+B_SFIX); |
---|
563 | if (buttonObj != null) { |
---|
564 | buttonObj.style.display = "none"; |
---|
565 | } |
---|
566 | } |
---|
567 | } |
---|
568 | |
---|
569 | /** |
---|
570 | * Sets the page for either printing mode |
---|
571 | * or viewing mode. In printing mode, the page |
---|
572 | * is made to be more readable when printing it out. |
---|
573 | * In viewing mode, the page is more browsable. |
---|
574 | * |
---|
575 | * @param isPrinterVersion If true, display in |
---|
576 | * printing mode; otherwise, |
---|
577 | * in viewing mode |
---|
578 | */ |
---|
579 | function displayMode(isPrinterVersion) { |
---|
580 | var obj; |
---|
581 | if (isPrinterVersion) { |
---|
582 | // Hide global control buttons |
---|
583 | obj = getElementObject("globalControls"); |
---|
584 | if (obj != null) { |
---|
585 | obj.style.visibility = "hidden"; |
---|
586 | } |
---|
587 | // Hide Legend |
---|
588 | obj = getElementObject("legend"); |
---|
589 | if (obj != null) { |
---|
590 | obj.style.display = "none"; |
---|
591 | } |
---|
592 | obj = getElementObject("legendTOC"); |
---|
593 | if (obj != null) { |
---|
594 | obj.style.display = "none"; |
---|
595 | } |
---|
596 | // Hide Glossary |
---|
597 | obj = getElementObject("glossary"); |
---|
598 | if (obj != null) { |
---|
599 | obj.style.display = "none"; |
---|
600 | } |
---|
601 | obj = getElementObject("glossaryTOC"); |
---|
602 | if (obj != null) { |
---|
603 | obj.style.display = "none"; |
---|
604 | } |
---|
605 | |
---|
606 | // Expand all diagrams |
---|
607 | expandAll(diagramBoxes); |
---|
608 | // Expand all logical diagrams |
---|
609 | expandAll(logicalDiagramBoxes); |
---|
610 | // Expand all XML Instance Representation tables |
---|
611 | expandAll(xiBoxes); |
---|
612 | // Expand all Schema Component Representation tables |
---|
613 | expandAll(scBoxes); |
---|
614 | |
---|
615 | // Hide Control buttons |
---|
616 | hideControlButtons(diagramBoxes); |
---|
617 | hideControlButtons(logicalDiagramBoxes); |
---|
618 | hideControlButtons(xiBoxes); |
---|
619 | hideControlButtons(scBoxes); |
---|
620 | } else { |
---|
621 | // View global control buttons |
---|
622 | obj = getElementObject("globalControls"); |
---|
623 | if (obj != null) { |
---|
624 | obj.style.visibility = "visible"; |
---|
625 | } |
---|
626 | // View Legend |
---|
627 | obj = getElementObject("legend"); |
---|
628 | if (obj != null) { |
---|
629 | obj.style.display = "block"; |
---|
630 | } |
---|
631 | obj = getElementObject("legendTOC"); |
---|
632 | if (obj != null) { |
---|
633 | obj.style.display = "block"; |
---|
634 | } |
---|
635 | // View Glossary |
---|
636 | obj = getElementObject("glossary"); |
---|
637 | if (obj != null) { |
---|
638 | obj.style.display = "block"; |
---|
639 | } |
---|
640 | obj = getElementObject("glossaryTOC"); |
---|
641 | if (obj != null) { |
---|
642 | obj.style.display = "block"; |
---|
643 | } |
---|
644 | |
---|
645 | // Expand all diagram boxes |
---|
646 | expandAll(diagramBoxes); |
---|
647 | // Collapse all logical diagram boxes. |
---|
648 | collapseAll(logicalDiagramBoxes); |
---|
649 | // Expand all XML Instance Representation tables |
---|
650 | expandAll(xiBoxes); |
---|
651 | // Collapse all Schema Component Representation tables |
---|
652 | collapseAll(scBoxes); |
---|
653 | |
---|
654 | // View Control buttons |
---|
655 | viewControlButtons(diagramBoxes); |
---|
656 | viewControlButtons(logicalDiagramBoxes); |
---|
657 | viewControlButtons(xiBoxes); |
---|
658 | viewControlButtons(scBoxes); |
---|
659 | } |
---|
660 | } |
---|
661 | |
---|
662 | |
---|
663 | |
---|
664 | // --> |
---|
665 | </script> |
---|
666 | <script type="text/javascript"> |
---|
667 | <!-- |
---|
668 | |
---|
669 | |
---|
670 | /** |
---|
671 | * Counter of documentation windows |
---|
672 | * Used to give each window a unique name |
---|
673 | */ |
---|
674 | var windowCount = 0; |
---|
675 | |
---|
676 | /** |
---|
677 | * Opens up a window displaying the documentation |
---|
678 | * of a schema component in the XML Instance |
---|
679 | * Representation table. |
---|
680 | * |
---|
681 | * @param compDesc Description of schema component |
---|
682 | * @param compName Name of schema component |
---|
683 | * @param docTextArray Array containing the paragraphs |
---|
684 | * of the new document |
---|
685 | */ |
---|
686 | function viewDocumentation(compDesc, compName, docTextArray) { |
---|
687 | var width = 400; |
---|
688 | var height = 200; |
---|
689 | var locX = 100; |
---|
690 | var locY = 200; |
---|
691 | |
---|
692 | /* Generate content */ |
---|
693 | var actualText = "<html>"; |
---|
694 | actualText += "<head><title>"; |
---|
695 | actualText += compDesc; |
---|
696 | if (compName != '') { |
---|
697 | actualText += ": " + compName; |
---|
698 | } |
---|
699 | actualText += "</title></head>"; |
---|
700 | actualText += "<body bgcolor=\"#FFFFEE\">"; |
---|
701 | // Title |
---|
702 | actualText += "<p style=\"font-family: Arial, sans-serif; font-size: 12pt; font-weight: bold; letter-spacing:1px;\">"; |
---|
703 | actualText += compDesc; |
---|
704 | if (compName != '') { |
---|
705 | actualText += ": <span style=\"color:#006699\">" + compName + "</span>"; |
---|
706 | } |
---|
707 | actualText += "</p>"; |
---|
708 | // Documentation |
---|
709 | var idx; |
---|
710 | for (idx = 0; idx < docTextArray.length; idx++) { |
---|
711 | actualText += "<p style=\"font-family: Arial, sans-serif; font-size: 10pt;\">" + docTextArray[idx] + "</p>"; |
---|
712 | } |
---|
713 | // Link to close window |
---|
714 | actualText += "<a href=\"javascript:void(0)\" onclick=\"window.close();\" style=\"font-family: Arial, sans-serif; font-size: 8pt;\">Close</a>"; |
---|
715 | actualText += "</body></html>"; |
---|
716 | |
---|
717 | /* Display window */ |
---|
718 | windowCount++; |
---|
719 | var docWindow = window.open("", "documentation"+windowCount, "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable,alwaysRaised,dependent,titlebar=no,width="+width+",height="+height+",screenX="+locX+",left="+locX+",screenY="+locY+",top="+locY); |
---|
720 | docWindow.document.write(actualText); |
---|
721 | } |
---|
722 | |
---|
723 | // --> |
---|
724 | </script> |
---|
725 | </head> |
---|
726 | <body> |
---|
727 | <h1> |
---|
728 | <a name="top">Documentation for WITSML_Composite</a> |
---|
729 | </h1> |
---|
730 | <div style="float: right;"> |
---|
731 | <div id="printerControls" style="display:none;"> |
---|
732 | <input type="checkbox" onclick="displayMode(this.checked)"/>Printer-friendly Version</div> |
---|
733 | <script type="text/javascript"> |
---|
734 | <!-- |
---|
735 | |
---|
736 | var pc = getElementObject("printerControls"); |
---|
737 | if (pc != null) { |
---|
738 | pc.style.display="block"; |
---|
739 | } |
---|
740 | |
---|
741 | // --> |
---|
742 | </script> |
---|
743 | <div id="globalControls" style="display:none"> |
---|
744 | <strong>Logical Diagram:</strong> |
---|
745 | <br/> |
---|
746 | <span style="margin-left: 1em; white-space: nowrap">[ <a href="javascript:void(0)" onclick="expandAll(logicalDiagramBoxes)">Expand All</a> | <a href="javascript:void(0)" onclick="collapseAll(logicalDiagramBoxes)">Collapse All</a> ]</span> |
---|
747 | <br/> |
---|
748 | <br/> |
---|
749 | <strong>XML Instance Representation:</strong> |
---|
750 | <br/> |
---|
751 | <span style="margin-left: 1em; white-space: nowrap">[ <a href="javascript:void(0)" onclick="expandAll(xiBoxes)">Expand All</a> | <a href="javascript:void(0)" onclick="collapseAll(xiBoxes)">Collapse All</a> ]</span> |
---|
752 | <br/> |
---|
753 | <br/> |
---|
754 | <strong>Diagram:</strong> |
---|
755 | <br/> |
---|
756 | <span style="margin-left: 1em; white-space: nowrap">[ <a href="javascript:void(0)" onclick="expandAll(diagramBoxes)">Expand All</a> | <a href="javascript:void(0)" onclick="collapseAll(diagramBoxes)">Collapse All</a> ]</span> |
---|
757 | <br/> |
---|
758 | <br/> |
---|
759 | <strong>Schema Component Representation:</strong> |
---|
760 | <br/> |
---|
761 | <span style="margin-left: 1em; white-space: nowrap">[ <a href="javascript:void(0)" onclick="expandAll(scBoxes)">Expand All</a> | <a href="javascript:void(0)" onclick="collapseAll(scBoxes)">Collapse All</a> ]</span> |
---|
762 | </div> |
---|
763 | <script type="text/javascript"> |
---|
764 | <!-- |
---|
765 | |
---|
766 | var gc = getElementObject("globalControls"); |
---|
767 | if (gc != null) { |
---|
768 | gc.style.display="block"; |
---|
769 | } |
---|
770 | |
---|
771 | // --> |
---|
772 | </script> |
---|
773 | </div> |
---|
774 | <h2>Table of Contents</h2> |
---|
775 | <ul> |
---|
776 | <li> |
---|
777 | <a href="#SchemaProperties">Schema Document Properties</a> |
---|
778 | </li> |
---|
779 | <li> |
---|
780 | <a href="#SchemaDefinitions">Global Definitions</a> |
---|
781 | <ul> |
---|
782 | <li> |
---|
783 | <a href="#h-1931220815">Attribute Group: <strong>attgrp_uid</strong> |
---|
784 | </a> |
---|
785 | </li> |
---|
786 | </ul> |
---|
787 | </li> |
---|
788 | </ul> |
---|
789 | <ul id="legendTOC" style="margin-top: 0em"> |
---|
790 | <li> |
---|
791 | <a href="#Legend">Legend</a> |
---|
792 | </li> |
---|
793 | </ul> |
---|
794 | <ul id="glossaryTOC" style="margin-top: 0em"> |
---|
795 | <li> |
---|
796 | <a href="#Glossary">Glossary</a> |
---|
797 | </li> |
---|
798 | </ul> |
---|
799 | <h4>Master schema documentation file: |
---|
800 | <a href="WITSML_Composite.xsd.html">WITSML_Composite.xsd.html</a> |
---|
801 | </h4> |
---|
802 | <div style="text-align: right; clear: both;"> |
---|
803 | <a href="#top">top</a> |
---|
804 | </div> |
---|
805 | <hr/> |
---|
806 | <h2> |
---|
807 | <a name="SchemaProperties">Schema Document Properties</a> |
---|
808 | </h2> |
---|
809 | <table class="properties"> |
---|
810 | <tr> |
---|
811 | <th> |
---|
812 | <a title="Look up 'Target Namespace' in glossary" |
---|
813 | href="attgrp_uid.xsd.html#term_TargetNS">Target Namespace</a> |
---|
814 | </th> |
---|
815 | <td> |
---|
816 | <span class="targetNS">http://www.witsml.org/schemas/131/addendum/combo</span> |
---|
817 | </td> |
---|
818 | </tr> |
---|
819 | <tr> |
---|
820 | <th>Version</th> |
---|
821 | <td>1.3.1</td> |
---|
822 | </tr> |
---|
823 | <tr> |
---|
824 | <th>Element and Attribute Namespaces</th> |
---|
825 | <td> |
---|
826 | <ul> |
---|
827 | <li>Global element and attribute declarations belong to this schema's target namespace.</li> |
---|
828 | <li>By default, local element declarations belong to this schema's target namespace.</li> |
---|
829 | <li>By default, local attribute declarations have no namespace.</li> |
---|
830 | </ul> |
---|
831 | </td> |
---|
832 | </tr> |
---|
833 | <tr> |
---|
834 | <th>Schema Composition</th> |
---|
835 | <td> |
---|
836 | <ul> |
---|
837 | <li>This schema includes components from the following schema document(s):<ul> |
---|
838 | <li> |
---|
839 | <a title="Jump to schema documentation for 'typ_dataTypes.xsd'." |
---|
840 | href="typ_dataTypes.xsd.html">typ_dataTypes.xsd</a> |
---|
841 | </li> |
---|
842 | </ul> |
---|
843 | </li> |
---|
844 | </ul> |
---|
845 | </td> |
---|
846 | </tr> |
---|
847 | </table> |
---|
848 | <h3>Declared Namespaces</h3> |
---|
849 | <table class="namespaces"> |
---|
850 | <tr> |
---|
851 | <th>Prefix</th> |
---|
852 | <th>Namespace</th> |
---|
853 | </tr> |
---|
854 | <tr> |
---|
855 | <td> |
---|
856 | <a name="ns_witsml">witsml</a> |
---|
857 | </td> |
---|
858 | <td> |
---|
859 | <span class="targetNS">http://www.witsml.org/schemas/131/addendum/combo</span> |
---|
860 | </td> |
---|
861 | </tr> |
---|
862 | <tr> |
---|
863 | <td> |
---|
864 | <a name="ns_xml">xml</a> |
---|
865 | </td> |
---|
866 | <td>http://www.w3.org/XML/1998/namespace</td> |
---|
867 | </tr> |
---|
868 | <tr> |
---|
869 | <td> |
---|
870 | <a name="ns_xsd">xsd</a> |
---|
871 | </td> |
---|
872 | <td>http://www.w3.org/2001/XMLSchema</td> |
---|
873 | </tr> |
---|
874 | </table> |
---|
875 | <div class="schemaComponent box"> |
---|
876 | <div> |
---|
877 | <input type="button" id="schema_scbox_button" class="control" |
---|
878 | onclick="switchState('schema_scbox'); return false;" |
---|
879 | style="display: none"/> |
---|
880 | <span class="caption">Schema Component Representation</span> |
---|
881 | </div> |
---|
882 | <div id="schema_scbox" class="contents"> |
---|
883 | <div style="margin-left: 0em"><<span class="scTag">xsd:schema</span> |
---|
884 | <span class="scTag">elementFormDefault</span>="<span class="scContent">qualified</span>" <span class="scTag">attributeFormDefault</span>="<span class="scContent">unqualified</span>" <span class="scTag">targetNamespace</span>="<span class="scContent">http://www.witsml.org/schemas/131/addendum/combo</span>" <span class="scTag">version</span>="<span class="scContent">1.3.1</span>"><div style="margin-left: 1.5em"><<span class="scTag">xsd:include</span> |
---|
885 | <span class="scTag">schemaLocation</span>="<span class="scContent">typ_dataTypes.xsd</span>"/></div> |
---|
886 | <div class="scContent" style="margin-left: 1.5em">...</div></<span class="scTag">xsd:schema</span>></div> |
---|
887 | </div> |
---|
888 | <script type="text/javascript"> |
---|
889 | <!-- |
---|
890 | setState('schema_scbox', false); |
---|
891 | // --> |
---|
892 | </script> |
---|
893 | </div> |
---|
894 | <div style="text-align: right; clear: both;"> |
---|
895 | <a href="#top">top</a> |
---|
896 | </div> |
---|
897 | <hr/> |
---|
898 | <h2> |
---|
899 | <a name="SchemaDefinitions">Global Definitions</a> |
---|
900 | </h2> |
---|
901 | <h3>Attribute Group: <a name="h-1931220815" class="name">attgrp_uid</a> |
---|
902 | </h3> |
---|
903 | <table class="properties"> |
---|
904 | <tr> |
---|
905 | <th>Name</th> |
---|
906 | <td>attgrp_uid</td> |
---|
907 | </tr> |
---|
908 | </table> |
---|
909 | <div class="sample box"> |
---|
910 | <div> |
---|
911 | <input type="button" id="h-1931220815_xibox_button" class="control" |
---|
912 | onclick="switchState('h-1931220815_xibox'); return false;" |
---|
913 | style="display: none"/> |
---|
914 | <span class="caption">XML Instance Representation</span> |
---|
915 | </div> |
---|
916 | <div id="h-1931220815_xibox" class="contents"> |
---|
917 | <span style="margin-left: 0em"> uid="<span class="type"> |
---|
918 | <a href="#ns_witsml" title="Find out namespace of 'witsml' prefix">witsml</a>:<a title="Jump to "uidString" type definition(located in external schema documentation)." |
---|
919 | href="typ_dataTypes.xsd.html#h1953291708" |
---|
920 | class="externalLink">uidString</a> |
---|
921 | </span> |
---|
922 | <span class="occurs">[0..1]</span> |
---|
923 | <p class="documentation">'The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only required to be unique within the context of the nearest recurring parent element.'</p>"</span> |
---|
924 | </div> |
---|
925 | <script type="text/javascript"> |
---|
926 | <!-- |
---|
927 | setState('h-1931220815_xibox', true); |
---|
928 | // --> |
---|
929 | </script> |
---|
930 | </div> |
---|
931 | <div class="sample box"> |
---|
932 | <div> |
---|
933 | <input type="button" id="h-1931220815_diagram_button" class="control" |
---|
934 | onclick="switchState('h-1931220815_diagram'); return false;" |
---|
935 | style="display: none"/> |
---|
936 | <span class="caption">Diagram</span> |
---|
937 | </div> |
---|
938 | <div id="h-1931220815_diagram" class="contents"> |
---|
939 | <img usemap="#h-898842612" src="schemaDiagrams/h-898842612.png"/> |
---|
940 | <!-- |
---|
941 | Map ref: file:/C:/Projects/dpr/WITSML_v131_addendum_combo/generatedDocSchema//schemaDiagrams/h-898842612.map--><map name="h-898842612"> |
---|
942 | <area shape="rect" alt="h1953291708" coords="130,0,224,26" |
---|
943 | href="typ_dataTypes.xsd.html#h1953291708"/> |
---|
944 | |
---|
945 | </map> |
---|
946 | </div> |
---|
947 | <script type="text/javascript"> |
---|
948 | <!-- |
---|
949 | setState('h-1931220815_diagram', true); |
---|
950 | // --> |
---|
951 | </script> |
---|
952 | </div> |
---|
953 | <div class="schemaComponent box"> |
---|
954 | <div> |
---|
955 | <input type="button" id="h-1931220815_scbox_button" class="control" |
---|
956 | onclick="switchState('h-1931220815_scbox'); return false;" |
---|
957 | style="display: none"/> |
---|
958 | <span class="caption">Schema Component Representation</span> |
---|
959 | </div> |
---|
960 | <div id="h-1931220815_scbox" class="contents"> |
---|
961 | <div style="margin-left: 0em"><<span class="scTag">xsd:attributeGroup</span> |
---|
962 | <span class="scTag">name</span>="<span class="scContent">attgrp_uid</span>"><div style="margin-left: 1.5em"><<span class="scTag">xsd:attribute</span> |
---|
963 | <span class="scTag">name</span>="<span class="scContent">uid</span>" <span class="scTag">type</span>="<span class="scContent"> |
---|
964 | <span class="type"> |
---|
965 | <a href="#ns_witsml" title="Find out namespace of 'witsml' prefix">witsml</a>:<a title="Jump to "uidString" type definition(located in external schema documentation)." |
---|
966 | href="typ_dataTypes.xsd.html#h1953291708" |
---|
967 | class="externalLink">uidString</a> |
---|
968 | </span> |
---|
969 | </span>" <span class="scTag">use</span>="<span class="scContent">optional</span>"/></div></<span class="scTag">xsd:attributeGroup</span>></div> |
---|
970 | </div> |
---|
971 | <script type="text/javascript"> |
---|
972 | <!-- |
---|
973 | setState('h-1931220815_scbox', false); |
---|
974 | // --> |
---|
975 | </script> |
---|
976 | </div> |
---|
977 | <div style="text-align: right; clear: both;"> |
---|
978 | <a href="#top">top</a> |
---|
979 | </div> |
---|
980 | <hr/> |
---|
981 | <div id="legend"> |
---|
982 | <h2> |
---|
983 | <a name="Legend">Legend</a> |
---|
984 | </h2> |
---|
985 | <div style="float: left; width: 15em;"> |
---|
986 | <h3 style="margin-bottom: 0px;">Complex Type:</h3> |
---|
987 | <div class="hint" style="margin-left: 0em;">Schema Component Type</div> |
---|
988 | </div> |
---|
989 | <div style="float: left; width: 15em;"> |
---|
990 | <h3 style="margin-bottom: 0px;"> |
---|
991 | <span class="name">AusAddress</span> |
---|
992 | </h3> |
---|
993 | <div class="hint" style="margin-left: 0em;">Schema Component Name</div> |
---|
994 | </div> |
---|
995 | <table class="hierarchy" style="clear : both"> |
---|
996 | <tr> |
---|
997 | <th>Super-types:</th> |
---|
998 | <td> |
---|
999 | <span class="type" style="color: #0000FF; text-decoration:underline;">Address</span> < <span class="current">AusAddress</span> (by extension)</td> |
---|
1000 | </tr> |
---|
1001 | <tr> |
---|
1002 | <th>Sub-types:</th> |
---|
1003 | <td> |
---|
1004 | <ul> |
---|
1005 | <li> |
---|
1006 | <span class="type" style="color: #0000FF; text-decoration:underline;">QLDAddress</span> (by restriction)</li> |
---|
1007 | </ul> |
---|
1008 | </td> |
---|
1009 | </tr> |
---|
1010 | </table> |
---|
1011 | <div class="hint">If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.</div> |
---|
1012 | <table class="properties"> |
---|
1013 | <tr> |
---|
1014 | <th>Name</th> |
---|
1015 | <td>AusAddress</td> |
---|
1016 | </tr> |
---|
1017 | <tr> |
---|
1018 | <th> |
---|
1019 | <a title="Look up 'Abstract' in glossary" href="attgrp_uid.xsd.html#term_Abstract">Abstract</a> |
---|
1020 | </th> |
---|
1021 | <td>no</td> |
---|
1022 | </tr> |
---|
1023 | </table> |
---|
1024 | <div class="hint">The table above displays the properties of this schema component.</div> |
---|
1025 | <div class="sample box"> |
---|
1026 | <div> |
---|
1027 | <span class="caption">XML Instance Representation</span> |
---|
1028 | </div> |
---|
1029 | <div class="contents"> |
---|
1030 | <span style="margin-left: 0em"><...</span> |
---|
1031 | <span class="newFields"> |
---|
1032 | <span> country="<span class="fixed">Australia</span>"</span> |
---|
1033 | </span>> <br/> |
---|
1034 | <span style="margin-left: 1.5em" class="inherited"><unitNo> <span class="type">string</span> </unitNo> <span class="occurs">[0..1]</span> |
---|
1035 | </span> |
---|
1036 | <br/> |
---|
1037 | <span style="margin-left: 1.5em" class="inherited"><houseNo> <span class="type">string</span> </houseNo> <span class="occurs">[1]</span> |
---|
1038 | </span> |
---|
1039 | <br/> |
---|
1040 | <span style="margin-left: 1.5em" class="inherited"><street> <span class="type">string</span> </street> <span class="occurs">[1]</span> |
---|
1041 | </span> |
---|
1042 | <br/> |
---|
1043 | <span class="group" style="margin-left: 1.5em">Start <a title="Look up 'Choice' in glossary" href="#term_Choice">Choice</a> |
---|
1044 | <span class="occurs">[1]</span> |
---|
1045 | </span> |
---|
1046 | <br/> |
---|
1047 | <span style="margin-left: 3em" class="inherited"><city> <span class="type">string</span> </city> <span class="occurs">[1]</span> |
---|
1048 | </span> |
---|
1049 | <br/> |
---|
1050 | <span style="margin-left: 3em" class="inherited"><town> <span class="type">string</span> </town> <span class="occurs">[1]</span> |
---|
1051 | </span> |
---|
1052 | <br/> |
---|
1053 | <span class="group" style="margin-left: 1.5em">End Choice</span> |
---|
1054 | <br/> |
---|
1055 | <span class="newFields"> |
---|
1056 | <span style="margin-left: 1.5em"><state> <span class="type" style="text-decoration:underline;">AusStates</span> </state> <span class="occurs">[1]</span> |
---|
1057 | </span> |
---|
1058 | <br/> |
---|
1059 | <span style="margin-left: 1.5em"><postcode> <span class="constraint">string <<<em>pattern</em> = [1-9][0-9]{3}>></span> </postcode> <span class="occurs">[1]</span> |
---|
1060 | <a href="javascript:void(0)" title="View Documentation" class="documentation" |
---|
1061 | onclick="docArray = new Array('Post code must be a four-digit number.'); viewDocumentation('Element', 'postcode', docArray);">?</a> |
---|
1062 | </span> |
---|
1063 | <br/> |
---|
1064 | </span> |
---|
1065 | <span style="margin-left: 0em"></...></span> |
---|
1066 | <br/> |
---|
1067 | </div> |
---|
1068 | </div> |
---|
1069 | <div class="hint"> |
---|
1070 | <p>The XML Instance Representation table above shows the schema component's content as an XML instance.</p> |
---|
1071 | <ul> |
---|
1072 | <li>The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].</li> |
---|
1073 | <li>Model group information are shown in gray, e.g. Start Choice ... End Choice.</li> |
---|
1074 | <li>For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in <span style="font-weight: bold">bold</span>.</li> |
---|
1075 | <li>If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".</li> |
---|
1076 | <li>Otherwise, the type of the element/attribute is displayed. |
---|
1077 | <ul> |
---|
1078 | <li>If the element/attribute's type is in the schema, a link is provided to it.</li> |
---|
1079 | <li>For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<<em>pattern</em> = [1-9][0-9]{3}>>.</li> |
---|
1080 | </ul> |
---|
1081 | </li> |
---|
1082 | <li>If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.</li> |
---|
1083 | </ul> |
---|
1084 | </div> |
---|
1085 | <div class="schemaComponent box"> |
---|
1086 | <div> |
---|
1087 | <span class="caption">Schema Component Representation</span> |
---|
1088 | </div> |
---|
1089 | <div class="contents"> |
---|
1090 | <span style="margin-left: 0em"><<span class="scTag">complexType</span> |
---|
1091 | <span class="scTag">name</span>="<span class="scContent">AusAddress</span>"></span> |
---|
1092 | <br/> |
---|
1093 | <span style="margin-left: 1.5em"><<span class="scTag">complexContent</span>></span> |
---|
1094 | <br/> |
---|
1095 | <span style="margin-left: 3em"><<span class="scTag">extension</span> |
---|
1096 | <span class="scTag">base</span>="<span class="scContent"> |
---|
1097 | <span class="type" style="text-decoration:underline;">Address</span> |
---|
1098 | </span>"></span> |
---|
1099 | <br/> |
---|
1100 | <span style="margin-left: 4.5em"><<span class="scTag">sequence</span>></span> |
---|
1101 | <br/> |
---|
1102 | <span style="margin-left: 6em"><<span class="scTag">element</span> |
---|
1103 | <span class="scTag">name</span>="<span class="scContent">state</span>" <span class="scTag">type</span>="<span class="scContent"> |
---|
1104 | <span class="type" style="text-decoration:underline;">AusStates</span> |
---|
1105 | </span>"/></span> |
---|
1106 | <br/> |
---|
1107 | <span style="margin-left: 6em"><<span class="scTag">element</span> |
---|
1108 | <span class="scTag">name</span>="<span class="scContent">postcode</span>"></span> |
---|
1109 | <br/> |
---|
1110 | <span style="margin-left: 7.5em"><<span class="scTag">simpleType</span>></span> |
---|
1111 | <br/> |
---|
1112 | <span style="margin-left: 9em"><<span class="scTag">restriction</span> |
---|
1113 | <span class="scTag">base</span>="<span class="scContent"> |
---|
1114 | <span class="type">string</span> |
---|
1115 | </span>"></span> |
---|
1116 | <br/> |
---|
1117 | <span style="margin-left: 10.5em"><<span class="scTag">pattern</span> |
---|
1118 | <span class="scTag">value</span>="<span class="scContent">[1-9][0-9]{3}</span>"/></span> |
---|
1119 | <br/> |
---|
1120 | <span style="margin-left: 9em"></<span class="scTag">restriction</span>></span> |
---|
1121 | <br/> |
---|
1122 | <span style="margin-left: 7.5em"></<span class="scTag">simpleType</span>></span> |
---|
1123 | <br/> |
---|
1124 | <span style="margin-left: 6em"></<span class="scTag">element</span>></span> |
---|
1125 | <br/> |
---|
1126 | <span style="margin-left: 4.5em"></<span class="scTag">sequence</span>></span> |
---|
1127 | <br/> |
---|
1128 | <span style="margin-left: 4.5em"><<span class="scTag">attribute</span> |
---|
1129 | <span class="scTag">name</span>="<span class="scContent">country</span>" <span class="scTag">type</span>="<span class="scContent"> |
---|
1130 | <span class="type">string</span> |
---|
1131 | </span>" <span class="scTag">fixed</span>="<span class="scContent">Australia</span>"/></span> |
---|
1132 | <br/> |
---|
1133 | <span style="margin-left: 3em"></<span class="scTag">extension</span>></span> |
---|
1134 | <br/> |
---|
1135 | <span style="margin-left: 1.5em"></<span class="scTag">complexContent</span>></span> |
---|
1136 | <br/> |
---|
1137 | <span style="margin-left: 0em"></<span class="scTag">complexType</span>></span> |
---|
1138 | <br/> |
---|
1139 | </div> |
---|
1140 | </div> |
---|
1141 | <div class="hint">The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)</div> |
---|
1142 | <div style="text-align: right; clear: both;"> |
---|
1143 | <a href="#top">top</a> |
---|
1144 | </div> |
---|
1145 | <hr/> |
---|
1146 | </div> |
---|
1147 | <div id="glossary"> |
---|
1148 | <h2> |
---|
1149 | <a name="Glossary">Glossary</a> |
---|
1150 | </h2> |
---|
1151 | <p> |
---|
1152 | <span class="glossaryTerm"> |
---|
1153 | <a name="term_Abstract">Abstract</a> |
---|
1154 | </span>(Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.</p> |
---|
1155 | <p> |
---|
1156 | <span class="glossaryTerm"> |
---|
1157 | <a name="term_All">All Model Group</a> |
---|
1158 | </span>Child elements can be provided <em>in any order</em> in instances. See: <a title="http://www.w3.org/TR/xmlschema-1/#element-all" |
---|
1159 | href="http://www.w3.org/TR/xmlschema-1/#element-all">http://www.w3.org/TR/xmlschema-1/#element-all</a>.</p> |
---|
1160 | <p> |
---|
1161 | <span class="glossaryTerm"> |
---|
1162 | <a name="term_Choice">Choice Model Group</a> |
---|
1163 | </span> |
---|
1164 | <em>Only one</em> from the list of child elements and model groups can be provided in instances. See: <a title="http://www.w3.org/TR/xmlschema-1/#element-choice" |
---|
1165 | href="http://www.w3.org/TR/xmlschema-1/#element-choice">http://www.w3.org/TR/xmlschema-1/#element-choice</a>.</p> |
---|
1166 | <p> |
---|
1167 | <span class="glossaryTerm"> |
---|
1168 | <a name="term_CollapseWS">Collapse Whitespace Policy</a> |
---|
1169 | </span>Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.</p> |
---|
1170 | <p> |
---|
1171 | <span class="glossaryTerm"> |
---|
1172 | <a name="term_ElemBlock">Disallowed Substitutions</a> |
---|
1173 | </span>(Applies to element declarations). If <em>substitution</em> is specified, then <a title="Look up 'substitution group' in glossary" |
---|
1174 | href="attgrp_uid.xsd.html#term_SubGroup">substitution group</a> members cannot be used in place of the given element declaration to validate element instances. If <em>derivation methods</em>, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an <code>xsi:type</code> attribute.</p> |
---|
1175 | <p> |
---|
1176 | <span class="glossaryTerm"> |
---|
1177 | <a name="term_Key">Key Constraint</a> |
---|
1178 | </span>Like <a title="Look up 'Uniqueness Constraint' in glossary" |
---|
1179 | href="attgrp_uid.xsd.html#term_Unique">Uniqueness Constraint</a>, but additionally requires that the specified value(s) must be provided. See: <a title="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions" |
---|
1180 | href="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions">http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions</a>.</p> |
---|
1181 | <p> |
---|
1182 | <span class="glossaryTerm"> |
---|
1183 | <a name="term_KeyRef">Key Reference Constraint</a> |
---|
1184 | </span>Ensures that the specified value(s) must match value(s) from a <a title="Look up 'Key Constraint' in glossary" |
---|
1185 | href="attgrp_uid.xsd.html#term_Key">Key Constraint</a> or <a title="Look up 'Uniqueness Constraint' in glossary" |
---|
1186 | href="attgrp_uid.xsd.html#term_Unique">Uniqueness Constraint</a>. See: <a title="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions" |
---|
1187 | href="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions">http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions</a>.</p> |
---|
1188 | <p> |
---|
1189 | <span class="glossaryTerm"> |
---|
1190 | <a name="term_ModelGroup">Model Group</a> |
---|
1191 | </span>Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: <a title="http://www.w3.org/TR/xmlschema-1/#Model_Groups" |
---|
1192 | href="http://www.w3.org/TR/xmlschema-1/#Model_Groups">http://www.w3.org/TR/xmlschema-1/#Model_Groups</a>.</p> |
---|
1193 | <p> |
---|
1194 | <span class="glossaryTerm"> |
---|
1195 | <a name="term_Nillable">Nillable</a> |
---|
1196 | </span>(Applies to element declarations). If an element declaration is nillable, instances can use the <code>xsi:nil</code> attribute. The <code>xsi:nil</code> attribute is the boolean attribute, <em>nil</em>, from the <em>http://www.w3.org/2001/XMLSchema-instance</em> namespace. If an element instance has an <code>xsi:nil</code> attribute set to true, it can be left empty, even though its element declaration may have required content.</p> |
---|
1197 | <p> |
---|
1198 | <span class="glossaryTerm"> |
---|
1199 | <a name="term_Notation">Notation</a> |
---|
1200 | </span>A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: <a title="http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations" |
---|
1201 | href="http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations">http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations</a>.</p> |
---|
1202 | <p> |
---|
1203 | <span class="glossaryTerm"> |
---|
1204 | <a name="term_PreserveWS">Preserve Whitespace Policy</a> |
---|
1205 | </span>Preserve whitespaces exactly as they appear in instances.</p> |
---|
1206 | <p> |
---|
1207 | <span class="glossaryTerm"> |
---|
1208 | <a name="term_TypeFinal">Prohibited Derivations</a> |
---|
1209 | </span>(Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.</p> |
---|
1210 | <p> |
---|
1211 | <span class="glossaryTerm"> |
---|
1212 | <a name="term_TypeBlock">Prohibited Substitutions</a> |
---|
1213 | </span>(Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.</p> |
---|
1214 | <p> |
---|
1215 | <span class="glossaryTerm"> |
---|
1216 | <a name="term_ReplaceWS">Replace Whitespace Policy</a> |
---|
1217 | </span>Replace tab, line feed, and carriage return characters with space character (Unicode character 32).</p> |
---|
1218 | <p> |
---|
1219 | <span class="glossaryTerm"> |
---|
1220 | <a name="term_Sequence">Sequence Model Group</a> |
---|
1221 | </span>Child elements and model groups must be provided <em>in the specified order</em> in instances. See: <a title="http://www.w3.org/TR/xmlschema-1/#element-sequence" |
---|
1222 | href="http://www.w3.org/TR/xmlschema-1/#element-sequence">http://www.w3.org/TR/xmlschema-1/#element-sequence</a>.</p> |
---|
1223 | <p> |
---|
1224 | <span class="glossaryTerm"> |
---|
1225 | <a name="term_SubGroup">Substitution Group</a> |
---|
1226 | </span>Elements that are <em>members</em> of a substitution group can be used wherever the <em>head</em> element of the substitution group is referenced.</p> |
---|
1227 | <p> |
---|
1228 | <span class="glossaryTerm"> |
---|
1229 | <a name="term_ElemFinal">Substitution Group Exclusions</a> |
---|
1230 | </span>(Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.</p> |
---|
1231 | <p> |
---|
1232 | <span class="glossaryTerm"> |
---|
1233 | <a name="term_TargetNS">Target Namespace</a> |
---|
1234 | </span>The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.</p> |
---|
1235 | <p> |
---|
1236 | <span class="glossaryTerm"> |
---|
1237 | <a name="term_Unique">Uniqueness Constraint</a> |
---|
1238 | </span>Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: <a title="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions" |
---|
1239 | href="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions">http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions</a>.</p> |
---|
1240 | <div style="text-align: right; clear: both;"> |
---|
1241 | <a href="#top">top</a> |
---|
1242 | </div> |
---|
1243 | <hr/> |
---|
1244 | </div> |
---|
1245 | <p class="footer">Generated by <a href="http://www.oxygenxml.com"><oXygen/> XML Editor</a> using a modified version of <a href="http://titanium.dstc.edu.au/xml/xs3p">xs3p</a> that adds schema diagrams and chunking support. Last modified: <script type="text/javascript"> |
---|
1246 | <!-- |
---|
1247 | document.write(document.lastModified); |
---|
1248 | // --> |
---|
1249 | </script> |
---|
1250 | </p> |
---|
1251 | </body> |
---|
1252 | </html> |
---|