W3C home > Mailing lists > Public > www-archive@w3.org > April 2008

XML in HTML circa 1998

From: Karl Dubost <karl@w3.org>
Date: Thu, 3 Apr 2008 10:36:34 +0900
Message-Id: <C3BCA7BC-122C-4552-94D9-E0F10ED2D331@w3.org>
To: www-archive <www-archive@w3.org>

Found an email
http://lists.w3.org/Archives/Public/www-html/1998May/0003.html
XML wrapper and the Future of HTML


View source:
http://web.archive.org/web/19981202232618/http://www.hypermedic.com/style/tips/js1.htm


with part of the source being
<DIV id=xml style="display:none;">
	<XMLDOC>
	<XSTYLE>

	document{font-size:12pt;color:green;}
	greeting{
		color:red;
		font-size:18pt;
		display:block;
	}
	insult{
		color:teal;
		font-size:28pt;
		display:block;
	}
	emphasis{
		color:black;
		font-size:38pt;
		display:inline;
	extraem{
		color:red;
		font-size:38pt;
		display:inline;
	}
	</XSTYLE>
	<document>Sometimes no matter how nice you are its wasted on a  
cudmudgeon.
		<greeting voice="nice">Hello world!</greeting>
		<greeting>Hello xmldoc tag!!</greeting>believe you me this was said  
in the nicest possible way!
		<insult>Hiss off you <emphasis>stupid<extraem> stupid</extraem></ 
emphasis> old fool!!! </insult>

		I,m not really sure how the Bard would have replied to that one, but  
I'm sure he would not have been at a loss for words.
		<!--a comment-->
	</document>
	</XMLDOC>
</DIV>
<SCRIPT SRC="http://web.archive.org/web/19981202232618js_/http://www.hypermedic.com/style/tips/js2.js 
">
</SCRIPT>
<SCRIPT>
//this script must be placed after the XML document.
	var tagnames=new Array();
	
	for (i=0;i<=xml.all.length-1;i++)
		{
		tagnames[i]=xml.all[i].tagName;
		
		}
	printarray(tagnames,xml.innerHTML);
	
</SCRIPT>


-- 
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool
Received on Thursday, 3 April 2008 01:37:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:13 GMT