<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?action=history&amp;feed=atom&amp;title=How_to_Read_JSON_Files</id>
		<title>How to Read JSON Files - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?action=history&amp;feed=atom&amp;title=How_to_Read_JSON_Files"/>
		<link rel="alternate" type="text/html" href="https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?title=How_to_Read_JSON_Files&amp;action=history"/>
		<updated>2026-07-09T01:19:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?title=How_to_Read_JSON_Files&amp;diff=3441&amp;oldid=prev</id>
		<title>Dondi: Finish up JSON page, as a mirror of the XML page.</title>
		<link rel="alternate" type="text/html" href="https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?title=How_to_Read_JSON_Files&amp;diff=3441&amp;oldid=prev"/>
				<updated>2017-10-25T04:59:00Z</updated>
		
		<summary type="html">&lt;p&gt;Finish up JSON page, as a mirror of the XML page.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:59, 25 October 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l54&quot; &gt;Line 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Specific Parts ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Specific Parts ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A JSON file consists of three primary parts, each expressed in a very specific manner.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A JSON file consists of three primary parts, each expressed in a very specific manner&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Of these parts, objects and lists can mix and match in any combination and to nearly any depth (e.g., lists with lists, objects within lists, lists within objects, objects within objects, objects within lists within objects, lists within objects within lists, etc.). Properties are strictly associated with objects&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Objects ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Objects ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot; &gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Computers don’t care about spacing within JSON, but humans can read JSON a lot more easily with proper spacing. For human consumption, the braces of an object are typically on their own lines (as above), with the properties indented by a couple of spaces from the braces.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Computers don’t care about spacing within JSON, but humans can read JSON a lot more easily with proper spacing. For human consumption, the braces of an object are typically on their own lines (as above), with the properties indented by a couple of spaces from the braces.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Lists &lt;/del&gt;===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Properties &lt;/ins&gt;===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Lists&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;or &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;arrays&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;represent collections of objects&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Objects by themselves are actually quite meaningless; there is nothing to say about just an object in its own right. What makes an object useful are its &lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;properties&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;—named values that are associated with the object. Properties are expressed within the braces with its name name, sometimes enclosed in quotes, followed by a colon &lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;, followed by its value. Commas &amp;#039;&amp;#039;&amp;#039;,&amp;#039;&amp;#039;&amp;#039; separate properties from each other.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;!--&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;In &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;example above&lt;/ins&gt;, the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;single main object has a single property called &lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;organism&lt;/ins&gt;&amp;#039;&amp;#039;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;which is itself &lt;/ins&gt;an &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object. The &lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;organism&lt;/ins&gt;&amp;#039;&amp;#039; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object &lt;/ins&gt;in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;turn has four properties, &lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;key&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;name&lt;/ins&gt;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;dbReference&lt;/ins&gt;&amp;#039;&amp;#039;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;lineage&lt;/ins&gt;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Tags by themselves hint at &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;structure&amp;#039;&amp;#039; of XML data&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;but not &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;actual &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;information&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;within.&amp;#160; For example&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;here’s &lt;/del&gt;an &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XML representation for contact information:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;contact&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;email&amp;gt;&amp;lt;/email&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;phone&amp;gt;&amp;lt;/phone&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;address&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;street&amp;gt;&amp;lt;/street&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;city&amp;gt;&amp;lt;/city&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;state&amp;gt;&amp;lt;/state&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;zip&amp;gt;&amp;lt;/zip&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;/address&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;birthday&amp;gt;&amp;lt;/birthday&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;/contact&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;As you can see, a full XML address book will have &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;multiple versions&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;of this block; the difference lies &lt;/del&gt;in &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;specific contact information&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;within that block.&amp;#160; This is referred to as the &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;content&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;of the tag(s).&amp;#160; Essentially&lt;/del&gt;, &amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;content&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is any text that is in between tags:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;contact&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;name&amp;gt;Clark Kent&amp;lt;/name&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;email&amp;gt;ckent@dailyplanet.com&amp;lt;/email&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;phone&amp;gt;(555) 555-5555&amp;lt;/phone&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;address&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;street&amp;gt;344 Clinton St.&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Apt. 3B&amp;lt;/street&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;city&amp;gt;Metropolis&amp;lt;/city&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;state&amp;gt;NY&amp;lt;/state&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &amp;lt;zip&amp;gt;12345&amp;lt;/zip&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;/address&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;birthday&amp;gt;June 1, 1938&amp;lt;/birthday&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;/contact&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Note that you can’t have content &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in between&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tags.&amp;#160; This is incorrect:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;contact&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;name&amp;gt;Bruce Wayne&amp;lt;/name&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  owner of Wayne Enterprises&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &amp;lt;email&amp;gt;bwayne@wayneenterprises.com&amp;lt;/email&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;/contact&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Thus, tags either have plain text content in them, or other tags.&amp;#160; Never both&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=== Attributes ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Properties can be indicated via &amp;quot;dot notation&amp;quot; (where the dot is none other than a period &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;). Thus, if we represent the object above as some variable &amp;#039;&amp;#039;obj&amp;#039;&amp;#039;, the &amp;#039;&amp;#039;organism&amp;#039;&amp;#039; property of that object is &amp;#039;&amp;#039;obj.organism&amp;#039;&amp;#039;. The &amp;#039;&amp;#039;key&amp;#039;&amp;#039; property within that object is then &amp;#039;&amp;#039;obj.organism.key&amp;#039;&amp;#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;An alternative way to provide specific information in an XML file is through &amp;#039;&amp;#039;attributes&amp;#039;&amp;#039;.&amp;#160; An attribute is a &amp;#039;&amp;#039;name&lt;/del&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;value&amp;quot;&amp;#039;&amp;#039; expression that is included &amp;#039;&amp;#039;inside&amp;#039;&amp;#039; a start or standalone tag:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Lists &lt;/ins&gt;===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;lt;phone withAreaCode&lt;/del&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;yes&amp;quot;&amp;gt;(310) 338-5782&amp;lt;/phone&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;lt;birthday format&lt;/del&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;mmddyyyy&amp;quot;&amp;gt;01311970&amp;lt;/birthday&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Attribute &amp;#039;&amp;#039;names&amp;#039;&amp;#039;, like tag names, cannot have spaces.&amp;#160; Attribute values, in turn, must always be enclosed in double-quotes (&amp;#039;&amp;#039;&amp;#039;&amp;quot;&amp;#039;&amp;#039;&amp;#039;).&amp;#160; An equals sign (&amp;#039;&amp;#039;&amp;#039;&lt;/del&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;&amp;#039;) sits between these components.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;When should something be an attribute vs. content?&amp;#160; There are no hard-and-fast rules.&amp;#160; The general approach, though, is that an attribute is information &amp;#039;&amp;#039;about&amp;#039;&amp;#039; the content in the tag, while the content is, well, the information of the tag itself.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;== The XML Schema &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In this page, you’ve seen two types &lt;/del&gt;of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XML examples: one that looks like it holds gene, protein, &lt;/del&gt;or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;organism information of some sort, and another one that looks like a typical address book&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; How do you know what the tags mean?&amp;#160; This is where the XML &lt;/del&gt;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;schema&lt;/del&gt;&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;comes &lt;/del&gt;in. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; An XML schema is a separate document that explains &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tags and attributes for a particular &lt;/del&gt;type &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;of XML document.&amp;#160; We won’t go into too much detail about the XML schema at this point&lt;/del&gt;, but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;suffice it to say &lt;/del&gt;that &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;such things exist, so that readers of &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;particular XML file have &lt;/del&gt;an &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;authoritative source &lt;/del&gt;for &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;what &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tags and attributes within &lt;/del&gt;that &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;file might mean&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;Lists&amp;#039;&amp;#039; or &amp;#039;&amp;#039;arrays&amp;#039;&amp;#039; represent collections &lt;/ins&gt;of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;objects &lt;/ins&gt;or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;values&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;They are denoted by brackets &amp;#039;&amp;#039;&amp;#039;[ ]&amp;#039;&amp;#039;&amp;#039; with commas &amp;#039;&amp;#039;&lt;/ins&gt;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;separating the items &lt;/ins&gt;in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the list&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Most lists are meant to contain items of &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;same &lt;/ins&gt;type &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or structure&lt;/ins&gt;, but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JSON does not actually require &lt;/ins&gt;that&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Lists can have &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;number for the first item and &lt;/ins&gt;an &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object &lt;/ins&gt;for the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;next; &lt;/ins&gt;that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is permitted. But practically speaking, lists tend to hold uniformly-typed or -structured members&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;an XML document follows &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;particular schema&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this &lt;/del&gt;is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;provided &lt;/del&gt;at the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;top &lt;/del&gt;of the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;file:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;talking about the contents of &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;list&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sometimes convenient to refer to them by their &amp;#039;&amp;#039;ordinal position&amp;#039;&amp;#039; in the list (e.g., first slot, second slot, fifth slot, etc.). JSON lists start counting &lt;/ins&gt;at &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;0, and that number is referred to as &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;index&amp;#039;&amp;#039; &lt;/ins&gt;of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;an item in the list. Thus, in the JSON example above, the item at index 2 is &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object whose &amp;#039;&amp;#039;taxon&amp;#039;&amp;#039; property is &lt;/ins&gt;&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Gammaproteobacteria&lt;/ins&gt;.&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Or, combining property notation with indexing, we enclose an index in brackets &amp;#039;&amp;#039;&amp;#039;[ ]&amp;#039;&amp;#039;&amp;#039;&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Thus, continuing the example of using &amp;#039;&amp;#039;obj&amp;#039;&amp;#039; to represent the example JSON object above, the &lt;/ins&gt;&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Gammaproteobacteria&lt;/ins&gt;&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object is &amp;#039;&amp;#039;obj&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;organism&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;lineage[2]&amp;#039;&amp;#039;&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If you were to speak &lt;/ins&gt;that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;out entirely&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;that means &amp;quot;the item &lt;/ins&gt;at &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;index 2 of &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;lineage&amp;#039;&amp;#039; property &lt;/ins&gt;of the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;organism&amp;#039;&amp;#039; property &lt;/ins&gt;of the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object called &amp;#039;&amp;#039;obj&amp;#039;&amp;#039;&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;uniprot xmlns=&lt;/del&gt;&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http://uniprot&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;org/uniprot&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  xmlns:xsi=&amp;quot;http://www&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;w3.org/2001/XMLSchema-instance&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  xsi:schemaLocation=&lt;/del&gt;&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http://uniprot&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;org/uniprot http://www&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;uniprot&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;org/support/docs/uniprot.xsd&amp;quot;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Note &lt;/del&gt;that, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;like any other tag, this tag ends too, &lt;/del&gt;at the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;end &lt;/del&gt;of the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XML file:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;/uniprot&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;More to come on the schema; for now, it’s hoped that you can at least scan some XML information and get an idea &lt;/del&gt;of the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;outline that it provides&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== The Concept’s the Thing ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== The Concept’s the Thing ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Recall that the &amp;#039;&amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;L&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039; in &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XML &lt;/del&gt;stands for &amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;language&lt;/del&gt;&amp;#039;&amp;#039;—meaning that, yes, there are &amp;#039;&amp;#039;other&amp;#039;&amp;#039; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;languages &lt;/del&gt;that may be used to express the same information, in the same way that languages like English, Spanish, or Mandarin Chinese can say the same things, but with different sights and sounds.&amp;#160; Similarly, there are other “formats” for communicating outlines.&amp;#160; For example:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Recall that the &amp;#039;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;N&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039; in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JSON &lt;/ins&gt;stands for &amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;notation&lt;/ins&gt;&amp;#039;&amp;#039;—meaning that, yes, there are &amp;#039;&amp;#039;other&amp;#039;&amp;#039; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;notations &lt;/ins&gt;that may be used to express the same information, in the same way that languages like English, Spanish, or Mandarin Chinese can say the same things, but with different sights and sounds.&amp;#160; Similarly, there are other “formats” for communicating outlines.&amp;#160; For example:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;lt;organism key=&amp;quot;2&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;lt;organism key=&amp;quot;2&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot; &gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note how the outline you saw previously is recognizable here, even though it looks different.&amp;#160; The point here is that these “formats” and “languages” are ultimately meant to &amp;#039;&amp;#039;express&amp;#039;&amp;#039; some idea or concept.&amp;#160; The ultimate goal of any language or format is the &amp;#039;&amp;#039;accurate communication&amp;#039;&amp;#039; of ideas.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note how the outline you saw previously is recognizable here, even though it looks different.&amp;#160; The point here is that these “formats” and “languages” are ultimately meant to &amp;#039;&amp;#039;express&amp;#039;&amp;#039; some idea or concept.&amp;#160; The ultimate goal of any language or format is the &amp;#039;&amp;#039;accurate communication&amp;#039;&amp;#039; of ideas.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(and yes, the language above is real—it is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JSON&lt;/del&gt;, short for &amp;#039;&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JavaScript Object Notation&lt;/del&gt;&amp;#039;&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(and yes, the language above is real—it is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[How to Read XML Files|XML&lt;/ins&gt;, short for &amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;eXtensible Markup Language&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;--&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dondi</name></author>	</entry>

	<entry>
		<id>https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?title=How_to_Read_JSON_Files&amp;diff=3378&amp;oldid=prev</id>
		<title>Dondi: Start writing out JSON page.</title>
		<link rel="alternate" type="text/html" href="https://xmlpipedb.lmucs.io/biodb/fall2017/index.php?title=How_to_Read_JSON_Files&amp;diff=3378&amp;oldid=prev"/>
				<updated>2017-10-24T19:46:15Z</updated>
		
		<summary type="html">&lt;p&gt;Start writing out JSON page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To this point, you have been working with what are called “plain text” files and information — that is, information that is viewed as a simple sequence of symbols or characters (letters, numbers, punctuation, spaces, etc.), without any additional structure.&lt;br /&gt;
&lt;br /&gt;
There are, however, other text “formats” that &amp;#039;&amp;#039;do&amp;#039;&amp;#039; impose a structure over the included data.  One such format is called JSON (short for &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;J&amp;#039;&amp;#039;&amp;#039;ava&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;cript &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;bject &amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;otation&amp;#039;&amp;#039;).  This page seeks to introduce you to this type of text information.&lt;br /&gt;
&lt;br /&gt;
== Overall Concept ==&lt;br /&gt;
&lt;br /&gt;
The core idea behind JSON data is that the information inside it can be thought of as an &amp;#039;&amp;#039;outline&amp;#039;&amp;#039; or &amp;#039;&amp;#039;tree&amp;#039;&amp;#039;.  Our own wiki pages have outlines, in the form of either sections or bulleted lists:&lt;br /&gt;
* Level 1, item 1&lt;br /&gt;
** Level 2, item 1 (of level 1, item 1)&lt;br /&gt;
** Level 2, item 2 (of level 1, item 1)&lt;br /&gt;
* Level 1, item 2&lt;br /&gt;
* Level 1, item 3&lt;br /&gt;
** Level 2, item 1 (of level 1, item 3)&lt;br /&gt;
** Level 2, item 2 (of level 1, item 3)&lt;br /&gt;
** Level 2, item 3 (of level 1, item 3)&lt;br /&gt;
** Level 2, item 4 (of level 1, item 3)&lt;br /&gt;
JSON also captures an outline; it just looks different.  Here’s an example:&lt;br /&gt;
 {&lt;br /&gt;
   organism: {&lt;br /&gt;
     key: &amp;quot;2&amp;quot;,&lt;br /&gt;
     name: {&lt;br /&gt;
       type: &amp;quot;scientific&amp;quot;,&lt;br /&gt;
       text: &amp;quot;Vibrio cholerae&amp;quot;&lt;br /&gt;
     },&lt;br /&gt;
     dbReference: {&lt;br /&gt;
       type: &amp;quot;NCBI Taxonomy&amp;quot;,&lt;br /&gt;
       key: &amp;quot;3&amp;quot;,&lt;br /&gt;
       id: &amp;quot;666&amp;quot;&lt;br /&gt;
     },&lt;br /&gt;
     lineage: [&lt;br /&gt;
       { taxon: &amp;quot;Bacteria&amp;quot; },&lt;br /&gt;
       { taxon: &amp;quot;Proteobacteria&amp;quot; },&lt;br /&gt;
       { taxon: &amp;quot;Gammaproteobacteria&amp;quot; },&lt;br /&gt;
       { taxon: &amp;quot;Vibrionales&amp;quot; },&lt;br /&gt;
       { taxon: &amp;quot;Vibrionaceae&amp;quot; },&lt;br /&gt;
       { taxon: &amp;quot;Vibrio&amp;quot; }&lt;br /&gt;
     ]&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
This piece of JSON breaks down, roughly, to this outline:&lt;br /&gt;
* The JSON is for a single object, represented by braces &amp;#039;&amp;#039;&amp;#039;{ }&amp;#039;&amp;#039;&amp;#039;, that has one property, &amp;#039;&amp;#039;organism&amp;#039;&amp;#039;, which itself is an object&lt;br /&gt;
** The &amp;#039;&amp;#039;organism&amp;#039;&amp;#039; object has a &amp;#039;&amp;#039;key&amp;#039;&amp;#039; property whose value is &amp;quot;2&amp;quot;&lt;br /&gt;
** The &amp;#039;&amp;#039;name&amp;#039;&amp;#039; property is another object whose &amp;#039;&amp;#039;type&amp;#039;&amp;#039; is &amp;quot;scientific&amp;quot; and &amp;#039;&amp;#039;text&amp;#039;&amp;#039; is &amp;quot;Vibrio cholerae&amp;quot;&lt;br /&gt;
** The &amp;#039;&amp;#039;dbReference&amp;#039;&amp;#039; property is an object whose &amp;#039;&amp;#039;type&amp;#039;&amp;#039; is &amp;quot;NCBI Taxonomy&amp;quot;, &amp;#039;&amp;#039;key&amp;#039;&amp;#039; is &amp;quot;3&amp;quot;, and &amp;#039;&amp;#039;id&amp;#039;&amp;#039; is &amp;quot;666&amp;quot;&lt;br /&gt;
** &amp;#039;&amp;#039;lineage&amp;#039;&amp;#039; is a &amp;#039;&amp;#039;list&amp;#039;&amp;#039; of objects, indicated by the use of brackets &amp;#039;&amp;#039;&amp;#039;[ ]&amp;#039;&amp;#039;&amp;#039; rather than braces &amp;#039;&amp;#039;&amp;#039;{ }&amp;#039;&amp;#039;&amp;#039;, where each object has a single &amp;#039;&amp;#039;taxon&amp;#039;&amp;#039; property…&lt;br /&gt;
*** &amp;#039;&amp;#039;taxon:&amp;#039;&amp;#039; &amp;quot;Bacteria&amp;quot;&lt;br /&gt;
*** &amp;#039;&amp;#039;taxon:&amp;#039;&amp;#039; &amp;quot;Proteobacteria&amp;quot;&lt;br /&gt;
*** &amp;#039;&amp;#039;taxon:&amp;#039;&amp;#039; &amp;quot;Gammaproteobacteria&amp;quot;&lt;br /&gt;
*** &amp;#039;&amp;#039;taxon:&amp;#039;&amp;#039; &amp;quot;Vibrionales&amp;quot;&lt;br /&gt;
*** &amp;#039;&amp;#039;taxon:&amp;#039;&amp;#039; &amp;quot;Vibrionaceae&amp;quot;&lt;br /&gt;
*** &amp;#039;&amp;#039;taxon:&amp;#039;&amp;#039; &amp;quot;Vibrio&amp;quot;&lt;br /&gt;
Even now, you might already be seeing a pattern in terms of how the JSON looks and what outline it represents.  That’s one of the intentions of JSON: it’s meant to strike a balance between &amp;#039;&amp;#039;human readability&amp;#039;&amp;#039; and &amp;#039;&amp;#039;machine readability&amp;#039;&amp;#039;.  The “human readability” part manifests in recognizable words (“name,” “lineage,” “taxon”), while “machine readability” comes in through some special symbols and rules.&lt;br /&gt;
&lt;br /&gt;
== Specific Parts ==&lt;br /&gt;
&lt;br /&gt;
A JSON file consists of three primary parts, each expressed in a very specific manner.&lt;br /&gt;
&lt;br /&gt;
=== Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Objects&amp;#039;&amp;#039; represent distinct, self-contained items or records of data. They begin with a left brace &amp;#039;&amp;#039;&amp;#039;{&amp;#039;&amp;#039;&amp;#039; followed by the object’s &amp;#039;&amp;#039;properties&amp;#039;&amp;#039;—names and values.  Whereas humans are generally capable of figuring out where a piece of data starts and ends, computers need more help. Thus, every object &amp;#039;&amp;#039;&amp;#039;{&amp;#039;&amp;#039;&amp;#039; has a matching &amp;#039;&amp;#039;&amp;#039;}&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Computers don’t care about spacing within JSON, but humans can read JSON a lot more easily with proper spacing. For human consumption, the braces of an object are typically on their own lines (as above), with the properties indented by a couple of spaces from the braces.&lt;br /&gt;
&lt;br /&gt;
=== Lists ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Lists&amp;#039;&amp;#039; or &amp;#039;&amp;#039;arrays&amp;#039;&amp;#039; represent collections of objects&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Tags by themselves hint at the &amp;#039;&amp;#039;structure&amp;#039;&amp;#039; of XML data, but not the actual &amp;#039;&amp;#039;information&amp;#039;&amp;#039; within.  For example, here’s an XML representation for contact information:&lt;br /&gt;
 &amp;lt;contact&amp;gt;&lt;br /&gt;
   &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;&lt;br /&gt;
   &amp;lt;email&amp;gt;&amp;lt;/email&amp;gt;&lt;br /&gt;
   &amp;lt;phone&amp;gt;&amp;lt;/phone&amp;gt;&lt;br /&gt;
   &amp;lt;address&amp;gt;&lt;br /&gt;
     &amp;lt;street&amp;gt;&amp;lt;/street&amp;gt;&lt;br /&gt;
     &amp;lt;city&amp;gt;&amp;lt;/city&amp;gt;&lt;br /&gt;
     &amp;lt;state&amp;gt;&amp;lt;/state&amp;gt;&lt;br /&gt;
     &amp;lt;zip&amp;gt;&amp;lt;/zip&amp;gt;&lt;br /&gt;
   &amp;lt;/address&amp;gt;&lt;br /&gt;
   &amp;lt;birthday&amp;gt;&amp;lt;/birthday&amp;gt;&lt;br /&gt;
 &amp;lt;/contact&amp;gt;&lt;br /&gt;
As you can see, a full XML address book will have &amp;#039;&amp;#039;multiple versions&amp;#039;&amp;#039; of this block; the difference lies in the &amp;#039;&amp;#039;specific contact information&amp;#039;&amp;#039; within that block.  This is referred to as the &amp;#039;&amp;#039;content&amp;#039;&amp;#039; of the tag(s).  Essentially, &amp;#039;&amp;#039;content&amp;#039;&amp;#039; is any text that is in between tags:&lt;br /&gt;
 &amp;lt;contact&amp;gt;&lt;br /&gt;
   &amp;lt;name&amp;gt;Clark Kent&amp;lt;/name&amp;gt;&lt;br /&gt;
   &amp;lt;email&amp;gt;ckent@dailyplanet.com&amp;lt;/email&amp;gt;&lt;br /&gt;
   &amp;lt;phone&amp;gt;(555) 555-5555&amp;lt;/phone&amp;gt;&lt;br /&gt;
   &amp;lt;address&amp;gt;&lt;br /&gt;
     &amp;lt;street&amp;gt;344 Clinton St., Apt. 3B&amp;lt;/street&amp;gt;&lt;br /&gt;
     &amp;lt;city&amp;gt;Metropolis&amp;lt;/city&amp;gt;&lt;br /&gt;
     &amp;lt;state&amp;gt;NY&amp;lt;/state&amp;gt;&lt;br /&gt;
     &amp;lt;zip&amp;gt;12345&amp;lt;/zip&amp;gt;&lt;br /&gt;
   &amp;lt;/address&amp;gt;&lt;br /&gt;
   &amp;lt;birthday&amp;gt;June 1, 1938&amp;lt;/birthday&amp;gt;&lt;br /&gt;
 &amp;lt;/contact&amp;gt;&lt;br /&gt;
Note that you can’t have content &amp;#039;&amp;#039;in between&amp;#039;&amp;#039; tags.  This is incorrect:&lt;br /&gt;
 &amp;lt;contact&amp;gt;&lt;br /&gt;
   &amp;lt;name&amp;gt;Bruce Wayne&amp;lt;/name&amp;gt;&lt;br /&gt;
   owner of Wayne Enterprises&lt;br /&gt;
   &amp;lt;email&amp;gt;bwayne@wayneenterprises.com&amp;lt;/email&amp;gt;&lt;br /&gt;
 &amp;lt;/contact&amp;gt;&lt;br /&gt;
Thus, tags either have plain text content in them, or other tags.  Never both.&lt;br /&gt;
&lt;br /&gt;
=== Attributes ===&lt;br /&gt;
&lt;br /&gt;
An alternative way to provide specific information in an XML file is through &amp;#039;&amp;#039;attributes&amp;#039;&amp;#039;.  An attribute is a &amp;#039;&amp;#039;name=&amp;quot;value&amp;quot;&amp;#039;&amp;#039; expression that is included &amp;#039;&amp;#039;inside&amp;#039;&amp;#039; a start or standalone tag:&lt;br /&gt;
  &amp;lt;phone withAreaCode=&amp;quot;yes&amp;quot;&amp;gt;(310) 338-5782&amp;lt;/phone&amp;gt;&lt;br /&gt;
  &amp;lt;birthday format=&amp;quot;mmddyyyy&amp;quot;&amp;gt;01311970&amp;lt;/birthday&amp;gt;&lt;br /&gt;
Attribute &amp;#039;&amp;#039;names&amp;#039;&amp;#039;, like tag names, cannot have spaces.  Attribute values, in turn, must always be enclosed in double-quotes (&amp;#039;&amp;#039;&amp;#039;&amp;quot;&amp;#039;&amp;#039;&amp;#039;).  An equals sign (&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;) sits between these components.&lt;br /&gt;
&lt;br /&gt;
When should something be an attribute vs. content?  There are no hard-and-fast rules.  The general approach, though, is that an attribute is information &amp;#039;&amp;#039;about&amp;#039;&amp;#039; the content in the tag, while the content is, well, the information of the tag itself.&lt;br /&gt;
&lt;br /&gt;
== The XML Schema ==&lt;br /&gt;
&lt;br /&gt;
In this page, you’ve seen two types of XML examples: one that looks like it holds gene, protein, or organism information of some sort, and another one that looks like a typical address book.  How do you know what the tags mean?  This is where the XML &amp;#039;&amp;#039;schema&amp;#039;&amp;#039; comes in.  An XML schema is a separate document that explains the tags and attributes for a particular type of XML document.  We won’t go into too much detail about the XML schema at this point, but suffice it to say that such things exist, so that readers of a particular XML file have an authoritative source for what the tags and attributes within that file might mean.&lt;br /&gt;
&lt;br /&gt;
When an XML document follows a particular schema, this is provided at the top of the file:&lt;br /&gt;
 &amp;lt;uniprot xmlns=&amp;quot;http://uniprot.org/uniprot&amp;quot;&lt;br /&gt;
   xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
   xsi:schemaLocation=&amp;quot;http://uniprot.org/uniprot http://www.uniprot.org/support/docs/uniprot.xsd&amp;quot;&amp;gt;&lt;br /&gt;
Note that, like any other tag, this tag ends too, at the end of the XML file:&lt;br /&gt;
 &amp;lt;/uniprot&amp;gt;&lt;br /&gt;
More to come on the schema; for now, it’s hoped that you can at least scan some XML information and get an idea of the outline that it provides.&lt;br /&gt;
&lt;br /&gt;
== The Concept’s the Thing ==&lt;br /&gt;
&lt;br /&gt;
Recall that the &amp;#039;&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;#039; in XML stands for &amp;#039;&amp;#039;language&amp;#039;&amp;#039;—meaning that, yes, there are &amp;#039;&amp;#039;other&amp;#039;&amp;#039; languages that may be used to express the same information, in the same way that languages like English, Spanish, or Mandarin Chinese can say the same things, but with different sights and sounds.  Similarly, there are other “formats” for communicating outlines.  For example:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;organism key=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;name type=&amp;quot;scientific&amp;quot;&amp;gt;Vibrio cholerae&amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;dbReference type=&amp;quot;NCBI Taxonomy&amp;quot; key=&amp;quot;3&amp;quot; id=&amp;quot;666&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;lineage&amp;gt;&lt;br /&gt;
      &amp;lt;taxon&amp;gt;Bacteria&amp;lt;/taxon&amp;gt;&lt;br /&gt;
      &amp;lt;taxon&amp;gt;Proteobacteria&amp;lt;/taxon&amp;gt;&lt;br /&gt;
      &amp;lt;taxon&amp;gt;Gammaproteobacteria&amp;lt;/taxon&amp;gt;&lt;br /&gt;
      &amp;lt;taxon&amp;gt;Vibrionales&amp;lt;/taxon&amp;gt;&lt;br /&gt;
      &amp;lt;taxon&amp;gt;Vibrionaceae&amp;lt;/taxon&amp;gt;&lt;br /&gt;
      &amp;lt;taxon&amp;gt;Vibrio&amp;lt;/taxon&amp;gt;&lt;br /&gt;
    &amp;lt;/lineage&amp;gt;&lt;br /&gt;
  &amp;lt;/organism&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note how the outline you saw previously is recognizable here, even though it looks different.  The point here is that these “formats” and “languages” are ultimately meant to &amp;#039;&amp;#039;express&amp;#039;&amp;#039; some idea or concept.  The ultimate goal of any language or format is the &amp;#039;&amp;#039;accurate communication&amp;#039;&amp;#039; of ideas.&lt;br /&gt;
&lt;br /&gt;
(and yes, the language above is real—it is JSON, short for &amp;#039;&amp;#039;JavaScript Object Notation&amp;#039;&amp;#039;)&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dondi</name></author>	</entry>

	</feed>