1.1 Flashcards
XML stands for
eXtensible Markup Language
XML was designed to
1/ store and transport data.
2/ be both human- and machine-readable.
Qu’est ce que Le langage HTML
Le langage HTML (HyperText Markup Language) est un langage informatique utilisé pour créer des pages web. Il permet de structurer le contenu d’une page en utilisant des balises, c’est-à-dire des éléments de code qui indiquent au navigateur web comment afficher le contenu d’une page.
What is : <
An Entity reference for <
is White-space Preserved in XML ?
yes, White-space is Preserved in XML
How XML documents that conform to the syntax rules are called ?
XML documents that conform to the syntax rules above are said to be “Well Formed” XML documents.
How is called the first element after the Prolog
the Root Element
What is a self-closing tag
<element></element>
and it’s the equivalent of : <element></element>
It is used for empty XML elements
What is an XML Element?
An XML element is everything from (including) the element’s start tag to (including) the element’s end tag.
<price>29.99</price>
An element can contain:
text
attributes
other elements
or a mix of the above
where Namespaces can be declared
- The namespace can be defined by an xmlns attribute in the start tag of an element.
- It can also be defined In the Root element
What’s a URI
A Uniform Resource Identifier (URI) is a string of characters which identifies an Internet Resource.
wHAT IS THE MOST common URI
The most common URI is the Uniform Resource Locator (URL)
What is an URL
the Uniform Resource Locator (URL) identifies an Internet domain address
What’s a Well formed XML doc
An XML document with correct syntax is called “Well Formed”.
When an XML doc is valid ?
An XML document validated against an XML Schema is both “Well Formed” and “Valid”.
4 features of XML Schema
XML Schemas are written in XML
XML Schemas are extensible to additions
XML Schemas support data types
XML Schemas support namespaces
Why use a XML schema
With XML Schema, independent groups of people can agree on a standard for interchanging data.
+
With XML Schema, you can verify data.