12:40 PM
I have just spend a couple of hours modifying the layout for
Philosophy, Psychology and Technology. The idea was to remove
all links from each of these web sites to some other web site.
Thus it is now possible to have a branch to these sites, but
once in the site there is no way for the viewer to drill backwards
to see other sites. It is a better form of security but there
is still a lot of work to be done.
In working on this site, I realized that I have been remiss
in keeping up the routine of creating a new page each time
I spend at least an hour learning something new about technology.
First, I would like to describe, in my own words, the process
I used to recreate an "amportal' web page using XML. The first
step was to create a schema file using XMLSPY. This was relatively
easy, and I quickly had a schema diagram like the following:
I then saved this file as a W3C Schema file (with
an .xsd suffix):
The second step was to save this same file as
a XML file.
This XML file is the actual data file for this
situation, although the actual data has not yet been placed
in the file. There are two totally different ways to put data
into the file. One method, conceptually the simplest, is to
open the file and type the data into the file at the approrpriate
place. However this is not a user-friendly approach and is
not usually recommended. The second method is to use Altova's
STYLEVISION software and essentially two different jobs at
the same time. Thus the idea is to both input the data and
determine how it will appear (as a webpage) with a stylesheet
file.
Using STYLEVISION, the important step is to specify
the working XML file as the XML that was just created using
XMLSPY. First, one indicates the schema file associated with
the XML file:
Then one specifies the working XML file (this
is the data file that will receive the data).

I am now ready to get to work. Drag the "amportal"
element and drop it just inside the closing tag as follows.
A popup menu will appear - select Create Table...

This results in the following display:

Note that the Table Growth option actually creates
a vertical table that is then ready for a left/right expansion.

Now drag the Weather element just inside the
closing tag for that name.

Create another table to obtain:
Finally select the first (contents) and type
the word Lethbridge. Then select that word and go up to the
Insert menu and select Hyperlink...
Type (or copy-and-paste) the appropriate URL:
That's it. Everything else is simply a repetition
of the last few steps. When one is finished one must save
three files:
- the Design file (suffix .sps) - also called the Generator
Structure file
- the Generated XSLT file (suffix .xslt) - this is
- the Generated HTML file ( suffix html) .
|