|
INFO 498A Construction and Presentation of Information in the Visual Arts
After the Web
Visual Properties of Written Language |
Robert Indiana: The Figure Five
|
Class discussion: What is the relationship
between the print and visual elements in this painting? |
Page links: XML XSL
XML and HTML
The World before the World Wide Web: (Prior to early 1990s)
- Information elites determined form and meaning of information (e.g., librarians)
- Information oligarchs vended access to information (e.g. Dialog Corporation)
- Use of fairly rigid record structures (e.g., MARC records)
- Databases grow "slowly", records are "permanent".
- Use of "one" source of meaning (e.g., the Library of Congress Subject Headings)
- Use of "one" classification of meaning (e.g., the Library of Congress Classification)
- Computers act as big indexes, helping us find paper resources (e.g., Library catalog at the University of Washington)
 |
The Internet/World Wide Web
Yet another information technology revolution!
|
The World after the World Wide Web: (1990 to 1998)
- Anyone can publish a web page. The conflation of the author and publisher?
- Anyone can indicate the meaning of his or her web page. Meaning is freed from the control of elites. Your page is about what you say it is about.
- Information escapes personal control, escapes organizations, spans borders, etc.Multi-cultural, multi-language, multi-ethnic, etc.?
- Web content churn. Web pages tend to be ephemeral
- Web content is "full-text"
- Web content can be the product of scripts, database reads, streaming video/audio, cookies, caching, etc.
 |
1998 and following...
Second Generation Web |
The World Wide Web Consortium (W3C) develops interoperable technologies
(specifications, guidelines, software, and tools) to lead the Web to its full potential as a forum for information,
commerce, communication, and collective understanding.
Class investigation assignment: Crawl all over the W3C site
- Extensible Markup Language, XML:
| XML is a set of rules, guidelines, conventions, whatever you want to call them, for
designing text formats for such data, in a way that produces files that are easy to generate and read
(by a computer), that are unambiguous, and that avoid common pitfalls, such as lack of extensibility, lack
of support for internationalization/localization, and platform-dependency.
|
Documents that declare their meaning? Deja Vu: What is the relationship between
syntax and semantics?
- XLink
| This specification defines the XML Linking Language (XLink), which allows elements to be inserted into
XML documents in order to create and describe links between resources. |
Linkages among documents that declare their meaning?
- XML Query
| The mission of the XML Query working group is to provide flexible query facilities to
extract data from real and virtual documents on the Web, therefore finally providing the needed interaction
between the web world and the database world. Ultimately, collections of XML files will be accessed like databases.
|
An structured query language to use on XML documents? The Web as a database?
- XML Schemas
| XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They
provide a means for defining the structure, content and semantics of XML documents. |
Common, shared document descriptions? Community implications? The Web is a community?
Is there a policeman?
A simple XML information source.
The source.
A bad example naming
XML elements. The source.
Using XML attributes.
The source.
Advantages of using Extensible
Markup Language (XML)
XML files are simply text files and XML itself is only a text string.
Since they are only structured text strings, this makes them ideal for communications
between two components or two systems that were never designed to communicate with each other.
An Example of XML
<?xml version="1.0"?>
<colors>
<paint number="123">
<name>Scarlet</name>
<hue>opaque</hue>
<price>12.99<price>
</paint>
<paint number="456">
<name>Ultramarine</name>
<hue>transparent</hue>
<price>8.75</price>
</paint>
</colors>
|
Frequently when two systems are being designed to communicate,
which is increasingly the case in this Internet era, programmers face the sticky issue of how to
manage COM objects, created on separate machines. Obviously, moving COM objects,
classes and ActiveX controls around the Internet is not ideal.
Moving the data and “state” (the values and content) is a much better approach in terms of maintenance and speed.
With this in mind, how do you structure your data? Do you create your own custom format in which your
distributed objects communicate, or do you use XML so that many other systems can in future participate?
XML is the perfect medium in which to describe the state of these objects for communications to other systems
or objects. In a disconnected medium such as the Internet, synchronous (where two systems are synchronized in their
operations) communications over the web as it is not easy to achieve. Therefore there is a huge need for
asynchronous messaging and even for indicating the “state” of that message.
Imagine this scenario:
Two products from two different vendors have different custom data formats for their purchase orders -
therefore they are unable to exchange their data. But if their developers use the XML approach to structuring
purchase order data, the two systems may be able to exchange data –
without overhauling their existing systems.
XML can contain links to other files. This is useful because they can provide a link to an XML file
called a “schema” which holds a description of the correct XML structure.
The XSL file (eXtensible Stylesheet
Language) holds the details on how to appropriately display a XML file. For example, if I send
you an XML file with several hundred lines of numbers in it, the same XML data/message can be displayed
as an email, a word document, as a table containing data or even as a graph or simply as text. All I
have to do is provide the correct XSL file for each choice.
This is most useful because the XML file itself is only the data, and the “look and feel” is kept
separately in the XSL file and only applied according to the context it is in and according to the data
it is displaying.
Assignment Five
Styling Information
Extensible Stylesheet Language
Linking to an Extensible Stylesheet Language (XSL) styling source
Elements of Extensible Stylesheet Language (XSL)
XPath Expression Builder
- Selecting XML elements
The
DOM
used in the following examples describes Bantam chickens.
- Indexing into a collection
The
DOM in the following examples lists pen pals.
- Using Filters
The
DOM in the following examples lists detective stories for young adult readers.
- Using comparisons
The
DOM in these examples describes Bicycle Lights.
- Using operators
- The xsl:for-each element applies a template repeatedly to a set of nodes.
The xsl:if element allows conditional template fragments. This
example concerns an
xml source of purebred dogs. The
stylesheet.
- The xsl:when element provides multiple conditional testing in
conjunction with the xsl:choose and xsl:otherwise elements. This
example concerns an
xml source of Silkie Bantams. The
stylesheet.
XML and HTML
Using JavaScript
There seem to be two strategies for showing an XML source without using a server. You can
style the source and show it on the same page (first example below) or open a new XML page that
refers to its own style sheet (second example below). Both of these examples use
this simple XML data source.
|
|