Open cmccraw opened 5 years ago
1.) Many digital humanities projects use XML because the markup they use is descriptive, and they begin with a document analysis. Most digital humanities projects rely on XML because they utilize various strategies for coping with the overlapping hierarchy problem. 2.) Markup is the process of inserting information into a document that will take the structure that is easily recognizable to humans and make it accessible to a computer. 3.) An element consists of a start tag, an end tag, and content, which is whatever occurs between the tags. Attributes are additional markup that provide supplementary information about an element.
XML is designed to represent formal hierarchies, most human documents are structured in some sort of formal hierarchy, therefore, human documents can be easily represented as XML. Computers like to work with formal hierarchies, which makes it easy to manipulate and manage lots of data. 2.) Encoding is the process of adding data to a document that a computer would not be able to differentiate on it's own. 3.)An element is a container defined by a start tag, end tag and content. An attribute describes or provides additional information about an element. 4.)
@meehanjm your post reminded me to remind you all that for code excerpts to show up in GitHub markdown, you can put ``` on either side. (I updated the assignment post above with more details!).
I can still see your bracketed code if I click "Edit" for your post (so no worries about re-doing it if you don't have time!). But just FYI!
1.) Digital humanities projects choose to use XML because it easily represents an ordered hierarchy (trees), just as human documents are ordered similarly. Another reason why XML is used is because computers can operate more efficiently with these hierarchies than they can with non-hierarchical texts...this allows for the manipulation and management of large amounts of data. 2.) Markup/encoding is a way to make this ordered hierarchy accessible to a computer...it is the process of inserting information into a document (or tagging). 3.) An element involves a start tag, content (information within the tags), and an end tag. An attribute provides addition information about an element
<breakfast_menu>
<item>waffles</item>
<item>coffee</item>
<item>toast</item>
</breakfast_menu>
1) Digital Humanities use XML because it is easily ordered into a hierarchy, and computers run more quickly and efficiently with these trees (hierarchies) which means we can use them to manage large amounts of data
2) Markup/encoding gives the computer the structure it needs to present as a webpage. It identifies the beginning and the end and makes it recognizable to a computer.
3) An element is just the item or elements that you are tagging, but an attribute though has additional information about that item.
<breakfast_list>
<item>rasberries</item>
<item>over easy egg</item>
<item>toast</item>
<breakfast_list>
1) Many digital humanities projects work with XML because XML is designed to deal with hierarchies ordered in a way that is much like the way human produced documents are organized, so XML is a way to easily represent that. Also, the way that computers handle things that have been organized the way XML organized things is more efficient than other models. 2) Markup is putting information into a document in a way that both humans and computers can recognize easily. 3) An element has a start tag, content, and then end tag while an attribute is a markup that can be added to an element to provide more information about an element.
<breakfast_menu>
<item>cheese omelette</item>
<item>yogurt with granola</item>
<item>coffee</item>
</breakfast_menu>
XML is used based on a hierarchy, within the hierarchy there are documents that humans have produced are organized and categorize, which then makes it easier to be represented as an XML document. Computers also operate well on trees (another term for ordered hierarchy) which allows the individuals behind the project to manipulate, mark, and adjust large amounts of data efficiently.
Markup/encoding is the process of uploading the information from the ordered hierarchy, which then makes it easier for humans to recognize to and for computers to have access of it.
Element has information about the tag, it's content and an end tag while the attribute just has additional information about the element.
<spaghetti_recipe>
<item>spaghetti</item>
<item>ragu</item>
<item>onions</item>
<item>groundbeef</item>
</spaghetti_recipe>
<breakfast_list>
<item>bread</item>
<item>yogurt</item>
<item>scrambledeggs</item>
<item>orangejuice</item>
</breakfast_list>
`
`
I couldn't figure it out
`
Humanities scholars use XML because it allows them to represent hierarchical information/data in a way that can be easily read by users and operate efficiently.
Markup is used to focus on descriptive aspects of the text while putting information into the computer to read.
An attribute provides additional information about items in the element tag. An element can contain items such as things you need to buy at a grocery store.
' ' '
Many digital humanities projects choose to use XML because of its use of the hierarchy system. Hierarchies are how documents are logically organized, and computers can work with hierarchies quickly, allowing for large amounts of data (such as the amounts found in digital humanities projects) to be computed quickly.
Markup is is the process of inserting information into a document that will take the structure that humans recognize easily and make it accessible to a computer. In XML, this is called "tagging".
An element is content surrounded by a start and end tag. Attributes supplement the element by adding more information for identification.
<ideal_breakfast>
<item>scrambled_eggs</item>
<item>corned_beef_hash</item>
<item>orange_juice</item>
</ideal_breakfast>
<shopping_list>
<item>waffles</item>
<item>orange_juice</items>
</shopping_list>
<breakfast_order>
<item>earl grey tea</item>
<item>french toast</item>
<item>strawberries</item>
</breakfast_order>
<shopping_list>
<item>Omelet</item>
<item>Pancakes</item>
<item>Fruit</item>
</shopping_list>
Why do many digital humanities projects choose to use XML? They utilize XML to conduct humanities research, to introduce formal schemas and go beyond typical syntax structures. Ordered, hierarchical structures, easily created by computers with the capability to manage large volumes of data efficiently.
What is markup/encoding? Markup is the process of inserting information into our document (this is called tagging in the XML context) that will take the structure that humans recognize easily and make it accessible to a computer."
What is the difference between an element and an attribute? An element contains items, an attribute subsidizes an element with additional information. Look at the example of an XML shopping list:
Read "What is XML and why should humanists care? An even gentler introduction to XML" from "Introduction" through the end of the "Attributes" section. You do not need to worry about retaining all of this information! Skim the text, and focus on the points that allow you to answer the questions below. Post your answers as a comment on this Issue.
Why do many digital humanities projects choose to use XML?
What is markup/encoding?
What is the difference between an element and an attribute? (Provide examples, if that is helpful!)
Now... let's try it 🤠! Look at the example of an XML shopping list:
Imitating this structure, use XML tags to create a menu listing your ideal breakfast.
(Hint: Pay attention to the indentations!) (Another Hint: For code to show up in GitHub markdown (and therefore in your comment!), wrap the content with ``` on either side. See below for an example:)
We will cover this more in-depth during class on Thursday, so don't worry about making mistakes! Just give it your best shot!