blob: 8fc7a4e67955644f511e021bf516f686ad4f55be [file] [log] [blame]
<html>
<head>
<title>EMFT Update Manager Site</title>
<style>@import url("site.css");</style>
<script type="text/javascript">
var returnval = 0;
var stylesheet, xmlFile, cache, doc;
function init(){
// NSCP 7.1+ / Mozilla 1.4.1+
// Use the standard DOM Level 2 technique, if it is supported
if (document.implementation && document.implementation.createDocument) {
xmlFile = document.implementation.createDocument("", "", null);
stylesheet = document.implementation.createDocument("", "", null);
xmlFile.load("site.xml");
stylesheet.load("site.xsl");
xmlFile.addEventListener("load", transform, false);
stylesheet.addEventListener("load", transform, false);
}
//IE 6.0+ solution
else if (window.ActiveXObject) {
xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
xmlFile.async = false;
xmlFile.load("site.xml");
stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
stylesheet.async = false;
stylesheet.load("site.xsl");
cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
cache.stylesheet = stylesheet;
transformData();
}
}
// separate transformation function for IE 6.0+
function transformData(){
var processor = cache.createProcessor();
processor.input = xmlFile;
processor.transform();
data.innerHTML = processor.output;
}
// separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
function transform(){
returnval+=1;
if (returnval==2){
var processor = new XSLTProcessor();
processor.importStylesheet(stylesheet);
doc = processor.transformToDocument(xmlFile);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
}
}
</script>
</head>
<body onload="init();">
<!--[insert static HTML here]-->
<div id="data">
<!-- this is where the transformed data goes -->
<table width="100%">
<tr valign="top">
<td width="75%">
<h2 class="title">EMFT Update Manager Site</h2>
<p class="bodyText">To install these plugins, point your Eclipse Update Manager at this site.</p>
<pre><p class="bodyText"> Help
> Software Updates
> Find and Install...
> Search for new features to install
> Add Update Site...
* Name: <b>EMFT Update Manager Site</b>
* URL: <b><a href="http://download.eclipse.org/technology/emft/updates/site.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site.xml</a></b> (Releases)
(or): <b><a href="http://download.eclipse.org/technology/emft/updates/site-interim.xml" target="_um">http://download.eclipse.org/technology/emft/updates/site-interim.xml</a></b> (I, M and S Builds)</p></pre>
<p><b class="big-header">XML now loading...</b></p>
<p>
If you cannot see the Update Manager site listing after a few seconds, or to view this file as XML, <a href="http://download.eclipse.org/technology/emft/updates/site.xml" target="_um">click here</a>.
</p>
<p>Try <a target="_new" href="http://www.mozilla.org/download.html">Firefox</a>.</p>
</td>
<td width="25%"><img alt="how to" src="http://dev.eclipse.org/images/howto_banner.jpg" height="111" width="272" align="middle" /></td>
</tr>
</table>
</div>
<!-- $Id: site.html,v 1.2 2006/03/09 18:37:22 nickb Exp $ -->
</body>
</html>