Declarative Languages EXAM Flashcards
What does XML stand for?
Extensible Markup Language
What are HTML and XML based on?
Standard Generalized Markup Language (SGML)
What is the difference between HTML and XML?
HTML is about how to present the data, XML is about the data itself
What version of XML does this course focus on?
Version 1.0
How do you specify a comment in XML?
< !– The comment – >
How do you specify unparsed character data?
< ![CDATA[ ]] >
Are XML elements case sensitive?
Yes
What part of an XML doc is like metadata?
Attribute
Elements are thought of as ______ and attributes as ______
Nouns, Adjectives
Is the XML Declaration required?
No, but recommended
If the version isn’t specified in the declaration, what version is assumed?
Latest version (1.1)
What is an entity?
A way to specify a special character and not have it parsed.
&
What does the DOM do?
Provides a way to query and manipulate XML documents
How does the DOM structure an XML document?
a Tree
What does the DOM standard define a set of?
Interfaces