Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key


Play button


Play button




Click to flip

13 Cards in this Set

  • Front
  • Back
XML stands for _ ?
eXtensible Markup Language
What was XML designed for?
XML was designed to transport and store data, with focus on what data is, not how it is displayed and looks.

XML does not DO anything. XML was created to structure, store, and transport information.
What are the components of XML?
The characters making up an XML document are divided into markup and content.

Markup: like “<contact-info>” and “&” Describes the structure.

Content: like “Jane Smith” and “(212) 555-4567”.
Also known as text or character data
Text is the document's content.

Sometimes markup can also represent content, as in the case of references
What is an XML Tag?
Tag - A markup construct that begins with < and ends with >. Tags signify the opening and closing of an element or attribute.
Tags come in three flavors:

start-tags; for example: <section>
end-tags; for example: </section>
empty-element tags; for example: <line-break />
What is an XML Element?
Element - The logical units of information in an XML document. They begin with a start-tag and end with a matching end-tag or consists only of an empty-element tag.
An example of an element is:
<Greeting>Hello, world.</Greeting>. with Hello World being content.
Another is <line-break /> this is an empty element.
What is an XML Attribute?
Attribute - An attribute specifies a single property for an element, using a name/value pair. XML tags also are used to mark the start and end of Attributes.
XML attribute values must be quoted – using "..." or '…'

<img src="madonna.jpg" alt='Foligno Madonna, by Raphael' /img>
How is an XML structure generally described and why?
XML documents form a tree structure that starts at "the root" and branches to "the leaves".
<class_list> root element or parent
<student> element or child
<name>Robert</name> sub_element or subchild
<grade>A+</grade> sub_element or subchild
What is the one element that all XML documents must contain?
XML documents must contain a root element. This element is "the parent" of all other elements.
When using XML, is case sensitivity important>
Yes! - XML is case sensitive unicode taext.
How do you retrieve the results of a SQL query as XML?
By specifying the FOR XML clause in the query.
What are the four modes of a FOR XML clause?
Explain the RAW mode
The RAW mode generates a single <row> element per row in the rowset that is returned by the SELECT statement. You can generate XML hierarchy by writing nested FOR XML queries.
Explain the AUTO mode
The AUTO mode generates nesting in the resulting XML by using heuristics based on the way the SELECT statement is specified. You have minimal control over the shape of the XML generated. The nested FOR XML queries can be written to generate XML hierarchy beyond the XML shape that is generated by AUTO mode heuristics.