XML Flashcards
What is a tag?
Code used to specify formatting
Command placed between ()
Not revealed by web browser
“Non empty” cb something is between them
Beginning and end tags are identical.
False. Beginning and end tags are identical except for a (/) before the ending command
Ex. text or graphic image
What is a parameter?
Provides supplementary instructions (color, measurement, location, alignment, other appearances) to data between mark up tags
Ex. PARAMETER 1=X PARAMETER 2=Y (“” are optional best to leave out)
Ex. Command using parameters:
text
What is an empty tag?
Single tag rather than a pair of tags
Only a beginning command
What is meta-language?
Language used to create other mark up languages
XML
What is XML?
Meta-language - platform neutral means of structuring data
pure text-can be manipulated&processed easily-transferred easily across all platforms
Provides basic structure and set of rules for mark up language
Used to create unique mark up languages
One of first applications was to restore web
What is a benefit of using XML?
Develop XML documents one time and have then viewable on a wide range of devices
Create custom mark up tags that are unique to data types
Why has HTML gotten messy?
Never INTENDED to support graphics, formatting, or page layout features
WAS INTENDED to focus on meaning or content of info
How does XML support HTML?
XML allows you to describe the information in web documents
Describe data and relationships between pieces of data
Describe info across the net in applications
~ Amazon uses XML to describe products on site & allows
developers to create apps that analyze and extract data about
products
How to understand XML and HTML relationship
XML cleans up HTML
HTML - relatively unstructured mark up language
XML - sets strict tules that any mark up language must follow
HTML must adhere to XML rules and structure
~~ XML compliant version of HTML = XHTML~~
What is the W3C?
World Wide Web consortium
Oversees most standardized web technologies like HTML&XML
Sets standards for web
Where is XML making an immediate and significant impact?
Web based applications that move data across Internet
In this way XML is used as “behind the scenes data transport language” whereas HTML is used to display traditional web pages to user
How do you view XML?
Application like text editor or visual editor that shows you how the XML data is stored
Style sheets using either XSL(eXtensible style sheet language) or CSS(cascading style sheets)
To view to its actual meaning - use app designed to work with XML code
What are style sheets?
Approach to formatting web pages
Work in conjunction with HTML code to describe in more detail how HTML data should be displayed in a web browser
Same role with XML
Ex. CSS and XSL
What is Amaya?
Open source web browser offered by the W3C that can be used to browse XML documents
Supports editing of wed documents and a decent browser
Intended more to test XML documents
DOM
Document object model
Allows you to use a scripting language like JavaScript to programmatically access data in an XML document
Makes it possible to create web pages that intelligently access and display XML data based upon scripting code
How are XML documents displayed?
As a hierarchical tree that allows you to expand and collapse sections of data just as you expand and collapse folders in a file manager
WML
Wireless markup language ~ web pages for mobile devices
OFX
Open financial exchange ~ financial info - electronic funds transfer
RDF
Resource description Framework ~ descriptions of info in web pages
RSS
Really simple syndication ~ syndicated website updates - news feed and blog entries
MathML
Mathematical markup language ~ math symbols& formulas
OeB
Open eBook ~ electronic books
OpenDocument
Open file format for office applications (word processing, spreadsheet, etc.)
OWL
Web ontology language ~ semantic webpages (extension of RDF)
P3P
Platform for privacy preference ~ web privacy policies
SOAP
Simple object access protocol ~ distributed application communication
SVG
Scalable vector graphics ~ vector graphics
Codes plats for real estate
€ overhead map that shows how property
is divided
SMIL
Synchronized multimedia integration language ~ multimedia presentations
UDDI
Universal description discovery and integration ~ business registries
WSDL
Web services description language ~ web services.
XAML
eXtensible application mark up languages~ GUIs used by Microsoft I’m the new version of windows (longhorn)
XBRL
eXtensible business reporting languages ~ business and financial data
What are some XML-based languages supported I’m the web or in major XML based apps
WML SOAP XBRL OFX SVG OWL RDF SMIL P3P RSS XAML MathML UDDI OeB WSDL OpenDocument
Example of the use of XAML(Zammel)
Windows used XAML to describe its user interface for new Windows(Longhorn) in XML
Microsoft’s .Net development platform is based entirely off XML.
True
Why can you create custom tags in XML, but not in HTML?
HTML is markup language with predefined set of tags that each have special meaning to web browser - if you created custom tags the website wouldn’t know what to do!
XML isn’t tied to only web
When you tie XML document to web browser it is coupled with a style sheet that styles or transforms the XML data into a format more easily displayed in a browser.
Is it necessary to create new XML based mark up language die any kind of custom data that you’d like to share?
No but you may find your data is unique enough to warrant a new mark up language
There are many many different XML based languages
Most major industries have developed or are working on a standard industry specific make up language to represent industry specific data
Mark up language
Designed for processing definition and presentation of text
Specifies code for formatting -layout and style - within a text file
XML documents can be used to store any kind of info.
True