As of: Thu 2010-09-02 17:54:25 UTC [=1283450065. 13:54:25-04:00]
>> xmlisland.html L: 11,082. A: 100644. M: 2006-04-14 10:02:51 UTC [=1145008971] -1602.32d >>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>HTML page with an XML island in it</title>
<META NAME="description" CONTENT="HTML test page to learn about
processing embedded XML data islands as data source objects (DSOs).
(You need MicroSoft Internet Explorer 5 to view this page.)">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" language="JavaScript">
<!--
var previtem = null;
function gofirst() {
xtabl.recordset.moveFirst();
hilite();
}
function goprev() {
if (!xtabl.recordset.BOF) xtabl.recordset.movePrevious();
var find = document.all.author.innerText + document.all.book.innerText;
if (find.length < 1) {
gofirst();
return;
}
hilite();
}
function gonext() {
if (!xtabl.recordset.EOF) xtabl.recordset.moveNext();
var find = document.all.author.innerText + document.all.book.innerText;
if (find.length < 1) {
golast();
return;
}
hilite();
}
function golast() {
xtabl.recordset.moveLast();
hilite();
}
function hilite() {
var find = document.all.author.innerText + document.all.book.innerText;
if (find.length < 1) {
alert("Short!");
return;
}
var i;
for (i=0;i<document.all.txx.children.length;++i) {
if (document.all.txx.children[i].innerText == find) {
if (previtem != null) {
previtem.bgColor = "";
previtem.children[0].style.fontWeight = "";
previtem.children[0].style.fontSize = "";
previtem.children[0].style.color = "";
}
previtem = document.all.txx.children[i];
previtem.bgColor="yellow";
previtem.children[0].style.fontWeight = "bold";
previtem.children[0].style.fontSize = "larger";
previtem.children[0].style.color = "maroon";
// alert("XXX: " + previtem.children[0].children[1].innerText);
break;
}
}
}
// -->
</script>
</head>
<body bgcolor="#D3D3D3" onload="hilite()">
<table cellspacing=0 cellpadding=2 border=0>
<tr><td bgcolor=navy><table cellspacing=0 cellpadding=3 border=0>
<tr><td bgcolor="#FFEBCD"><font color="navy"><big><big><big> <b>HTML page with an XML island in it</b> </big></big></big></font></td></tr>
</table></td></tr></table>
<p><font color="maroon"><big><b><big><i>A</i></big>s of May 2003, this page displays correctly
only with Microsoft Internet Explorer 5 and higher (IE 5.5 and 6.0...)!</b></big></font></p>
<hr align=left width="40%">
<p><big><big>T</big>here is an <b>XML</b> data island in this page. Actually, it's a link to an external
<b>XML</b> file: <b><a href="http://www.users.cloud9.net/~bradmcc/cgi-bin/ascii.pl?f=booklist.xml">booklist.xml</a></b>,
which is similar to the
SGML file (<b><a href="http://www.users.cloud9.net/~bradmcc/cgi-bin/ascii.pl?f=sgml/books.inc">sgml/books.inc</a></b>)
that produces the list of some of my favorite books, via the
<a href="Bradsmap.html#favs">HTML form</a> near the bottom of my Site Map page. (<i>30May03:</i> I now generate <b>booklist.xml</b>
<i>programmatically</i>, from <b>sgml/books.inc</b>, as part of the audit script:
<b><a href="http://www.users.cloud9.net/~bradmcc/cgi-bin/ascii.pl?f=titles.pl">titles.pl</a></b>,
which I run every time I change anything.)</big></p>
<p><big><big>T</big>he <b>XML</b> data island is right after this paragraph, between the two immediately
following <b><hr></b> HTML tags (you can see it by looking at the source for this
page. I have used the <b>XML</b> data as a data source object (DSO), <i>twice</i>: first
displaying the records in the set one at a time, and, second, displaying the
whole record set in one long table.</big></p>
<hr>
<XML ID="xtabl" SRC="booklist.xml"></XML>
<hr>
<table cellspacing=0 cellpadding=0 border=0>
<tr><td align=left><table cellpadding=4 cellspacing=0 border=0>
<tr><td rowspan=3> </td>
<td valign=top align=right><big><i><b>Author:</b></i></big></td><td valign=top bgcolor="#DCDCDC"><font color=maroon><big><b><span id="author" datasrc="#xtabl" datafld="author"></span></b></big></font></td></tr>
<tr><td valign=top align=right><big><br></big></td>
<td valign=top style="background-color:yellow;padding:3px"><font color=maroon><big><big><i><b><span id="book" datasrc="#xtabl" datafld="book"></span></b></i></big></big></font></td></tr>
<tr><td> </td>
<td nowrap><button onclick="gofirst()" title="First"><big><big>||< </big></big></button>
<button onclick="goprev()" title="Previous"><big><big><<</big></big></button>
<button onclick="gonext()" title="Next"><big><big>>></big></big></button>
<button onclick="golast()" title="Last"><big><big> >||</big></big></button></td></tr>
</table></td></tr>
<tr><td><img src="sp.gif" height=2 width=2 vspace=14 border=0 alt="[ ]"></td></tr>
<tr><td><table id="txx" datasrc="#xtabl" border=1 cellpadding=3 cellspacing=1 bgcolor="#FFF8DC">
<thead><tr><th>Author</th><th>Book</th></tr>
<tbody>
<tr><td valign=top><span datafld="author"></span></td>
<td valign=top><span datafld="book"></span></td>
</tr></tbody></table></td></tr>
<tr><td><img src="sp.gif" height=2 width=2 vspace=13 border=0 alt="[ ]"></td></tr></table>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr><td align=left><big><a href="xmlcsst.xml">Return</a>/<a href="xmlcsst.xml">Go</a> to XML/CSS test page.<br>
<a href="xmlxslt.xml">Return</a>/<a href="xmlxslt.xml">Go</a> to XML/XSL test page (normally formatted, DTD version).<br>
<a href="xmlxslt_alt.xml">Return</a>/<a href="xmlxslt_alt.xml">Go</a> to XML/XSL test page (selectively formatted, DTD version).<br>
<a href="xmlxslschemat.xml">Return</a>/<a href="xmlxslschemat.xml">Go</a> to XML/XSL test page (normally formatted, XML Schema version).<br>
<br>
<a href="http://www.users.cloud9.net/~bradmcc/cgi-bin/ascii.pl?f=xmlisland.html">Examine</a> source code for
this page.</big></td>
<td valign=top align=right><a href="xmlstuff.html"><img src="sq/xml.gif" height=14 width=36 vspace=1 hspace=3 alt="[ How did XML come to exist? ]" border=0></a></td>
</tr></table>
<hr align=left width="40%">
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr><td align=left rowspan=3><big><a href="WhatIsSGML.html">Learn</a> more about SGML (Standard Generalized Markup Language).<br>
<a href="APL.html">Learn</a> about APL (A Programming Language).<br>
<br>
<a href="lorem_ipsum.html">What</a> does "lorem ipsum dolor" mean?<br>
<br>
<a href="changelog.html">What's new</a> on this website?<br>
<a href="sitetoc.html">Go</a> to website <i>Table of Contents</i>.<br>
<a href="welcome.html">Return</a> to Brad McCormick's home page.<br>
<a href="Bradsmap.html">Return</a> to site map.</big></td>
<td valign=top align=right><a href="WhatIsSGML.html"><img src="gif/sgml.gif" height=32 width=32 vspace=0 hspace=3 alt="[ Learn about SGML! ]" border=0></a></td></tr>
<tr><td align=right valign=middle><a href="changelog.html"><img src="WhatsNew.gif" width=73 height=54 hspace=4 vspace=2
alt="[ What's new here? ]" border=0></a></td></tr>
<tr><td align=right valign=bottom><table cellspacing=0 cellpadding=0 border=0>
<tr><td rowspan=2><img src="sp.gif" height=2 width=2 hspace=3 alt="[ ]" border=0></td>
<td valign=bottom><a name="marquee" href="Bradsmap.html"><img src="signpost.gif" height=32 width=33
vspace=0 hspace=0 border=0 alt="[ Go to Site Map! ]"></a></td>
<td><img src="sp.gif" height=2 width=2 hspace=11 alt="[ ]" border=0></td>
<td valign=bottom><a href="sitetoc.html"><img src="gif/up_black.gif" vspace=1 height=16
width=16 border=1 alt="[ Go to website Table of Contents! ]"></a></td>
<td><img src="sp.gif" height=2 width=2 border=0 alt="[ ]" hspace=20></td>
<td rowspan=2 valign=bottom><a href="welcome.html"><img src="gif/home.gif" height=32 width=32 vspace=1 border=0 alt="[ Go home! (BMcC website Home page!) ]"></a></td>
<td rowspan=2><img src="sp.gif" height=2 width=2 border=0 alt="[ ]" hspace=3></td></tr>
<tr><td colspan=4><img src="sp.gif" height=2 width=2 border=0 alt="[ ]" vspace=1></td></tr>
</table></td></tr></table>
<hr><center><table cellspacing=0 cellpadding=1 border=0>
<tr><td bgcolor=gray><table cellspacing=0 cellpadding=0 border=0><tr>
<td bgcolor="#D3D3D3"><applet code="marquee.class" width=460 height=22>
<param name="text" value="SGML's time has passed. XML is what we've got to work with now. Let's make XML become all the good things we hoped for from SGML, and more! x">
<param name="fontsize" value="14">
<param name="fonttype" value="b">
<param name="fg" value="black">
<param name="bg" value="cyan">
Sorry, but this marquee applet requires Java 1.1+ (Get with it!)....
</applet></td></tr></table></td></tr></table></center>
<hr>
<table cellspacing=0 cellpadding=0 border=0 width="100%">
<tr><td valign=top align=left rowspan=2><table cellspacing=0 cellpadding=0 border=0>
<tr><td valign=top><table cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor=silver><table cellspacing=0 cellpadding=0 border=0>
<tr><td><a href="duty.html"><img src="gif/lighthousea.gif" height=104 width=41 vspace=1 hspace=1
alt="[ Go to: The duty of communicators! ]" border=1></a></td></tr>
<tr><td><img src="sp.gif" height=2 width=2 border=0 vspace=3 alt="[ ]"></td></tr>
<tr><td align=right><a href="sq/shipwreck.html"><img src="gif/NoAOLman.gif" height=30 width=24 hspace=5 vspace=4 border=0 alt="[ Where is AOL man going? Where are you going? ]"></a></td></tr>
</table></td></tr>
</table></td>
<td><img src="sp.gif" height=2 width=2 hspace=3 border=0 alt="[ ]"></td>
<td valign=top nowrap><address><font color=green>http://www.cloud9.net/~bradmcc/xmlisland.html<br>
<a href="copyright.html">Copyright ©</a> 1999-2004 Brad McCormick, Ed.D.<br>
bradmcc@cloud9.net <a href="signgb.html"><img src="gif/email2me.gif" border=0
align=bottom vspace=0 hspace=0 height=10 width=15 alt="[ Email me! ]"></a><br>
10 April 2006 (2006-04-10 <a href="http://www.cl.cam.ac.uk/~mgk25/iso-time.html">ISO 8601</a>)<br>
v03.16</font><!--#exec cgi="cgi-bin/uctr0.pl"--></address></td></tr>
</table></td>
<td valign=top align=right><table cellspacing=0 cellpadding=0 border=0>
<tr><td align=right><a href="http://www.w3.org/Style/CSS/Buttons/"><img src="mwcos.gif"
alt="[ Made with Cascading Style Sheets! ]" vspace=1 hspace=1 height=31 border=0 width=88></a></td></tr>
</table></td></tr>
<tr><td valign=bottom align=right><a href="postmodernismx.html"><img src="gif/NoAOLman.gif" height=30 width=24 hspace=5 vspace=4 border=0 alt="[ Where is AOL man going? Where are you going? ]"></a></td></tr>
<tr><td colspan=2><img src="sp.gif" height=2 width=2 border=0 alt="[ ]" vspace=4></td></tr>
<tr><td colspan=2 align=right><a href="panorama-1.html"><img src="gif/noAcro.gif" height=104 hspace=2 width=90 border=0 alt="[ Stop proprietary document interchange software! ]"></a></td></tr>
<tr><td colspan=2><img src="sp.gif" height=2 width=2 border=0 alt="[ ]" vspace=3></td></tr></table>
</body>
</html>
<< xmlisland.html L: 11,082. A: 100644. M: 2006-04-14 10:02:51 UTC [=1145008971] -1602.32d <<
|
| Page generated by: http://www.users.cloud9.net/~bradmcc/cgi-bin/ascii.pl?f=xmlisland.html Copyright © 2001-2005 Brad McCormick, Ed.D. bradmcc@cloud9.net 26 April 2008CE v10.05 |
|||||||||||||||||||||||||||||||||||||||