XML Flashcards
(40 cards)
What is metadata
data about what the data is
each XML document element is created from what
UML instance of a class
XML tag name should be the same as the
Uml class name
restrictions on XML tag names
cannot contain spaces
cannot begin with _
cannot begin with the letters XML
is there a representation for multivalued attributes in XML eg arrays
no
they must be translated into individual XML elements
opening tag
< Name >
closing tag
what does rtf stand for
rich text format
what does SGML stand for
standard generalised mark up language
what is the de facto SGML
HTML
what does DTD stand for
document type definition
what is contained in the DTD file
rules about what can be contained in the document
what does OMG stand for
object management group
how to create a reference to an object of a particular class
using idref
what does an attribute content look like
in quotation marks
what does a text content look like
1984
for repeated texts or global texts that will have to be used again and again, how can they be shortened
give it a name in !DOCTYPE
what are entities
storage units for repeated texts
comments in XML
the declaration or prolog informs the XML software of what
the version of XML being used
the character encoding scheme used
whether or not a set of external declaration affect the interpretation of the document
well formed XML should be
Declaration required
AT least 1 element
empty elements written correctly
closing tags
attribute values are quoted
start and closing tag match
correct nesting
what does DTD do
defines structure/model of XML documents
is a DTD file stored within the XML file
can be an external plain text file and referenced by XML document
or stored in the doc
what does the * occurrence mean in DTD
zero or more