XML Fundamentals Flashcards
Blank is a markup language that you can use to structure and format any kind of data that have multiple purposes
XML
XML has multiple purposes. Name 4:
data storage
data retrieval
data mining
data processing
Extensible markup language (XML) is a markup language proposed by the blank.
World Wide Web Consortium (W3C)
XML, unlike HTML, is blank because it is used by other applications beyond web browsers.
case-sensitive
Other XML applications require blank (including case sensitivity and formal syntax) of terms.
formal definition
XML is a way to attach information to blank.
text
Like all other markup languages, XML behaves like a blank that you might use to highlight text in different colors to distinguish key data points.
highlighter
Note that XML tags can be blank
nested
Nesting is indicated by an blank so the web designer can easily visualize where content will be nested.
indentation
XML is considered extensible because it is more blank than HTML. With HTML, tags are specific and fixed. With XML, you can invent whatever tag categories you wish and add as many tags as you want to highlight specific information in your code.
versatile
The inclusion or removal of blank will not affect the processing of the XML file.
XML elements
XML tags follow one of what two formats
Element tags:
Self-closing tags:
What kind of XML tag
<tag_name, attributes><text></tag_name>
Example: <city>"LA"</city></text>
Element Tags
What kind of XML tag?
<tag_name, attributes />
Example: <hierarchy></hierarchy>
Self-closing tag
You will notice that both XML formats include what two elements:
a tag_name, which is any unique identifier for a tag kind
attributes, which are an optional list of pairs attribute_name=”attribute_value”.
XML is just blank wrapped in tags.
information
XML was designed to blank - with focus on what data is
carry data
HTML was designed to blank - with focus on how data looks
display data
XML tags are not blank like HTML tags are
predefined
With XML, the author must define both the blank and the blank.
tags and document structure
XML simplifies what four things?
data sharing
data transport
platform changes
data availability
XML stores data in blank. This provides a software- and hardware-independent way of storing, transporting, and sharing data.
plain text format
XML Documents Must Have a blank Element
Root
XML documents must contain one root element that is the blank of all other elements
parent
Name the basic XML syntax
root>
<child>
<subchild>.....</subchild>
</child>
</root>
The XML blank is optional. If it exists, it must come first in the document.
prolog
XML documents can contain blank, like Norwegian øæå or French êèé.
To avoid errors, you should specify the encoding used, or save your XML files as blank
international characters
UTF-8.
blank is the default character encoding for XML documents.
UTF-8
In XML, it is illegal to omit the blank. All elements must have a blank:
closing tag
The XML prolog does not have a blank! This is not an error. The prolog is not a part of the XML document.
closing tag
Give the syntax for XML prolog
<?xml version=”1.0” encoding=”UTF-8”?>
XML tags are blank. The tag <Letter> is different from the tag <letter>.</letter></Letter>
case sensitive
Opening and closing tags must be written with the same blank
case
In XML, all elements must be properly blank within each other
nested
Properly nested or not -
<b><i>This text is bold and italic</b></i></b>
Not
Properly nested or not -
<b><i>This text is bold and italic</i></b>
Properly nested