update the plugin

This commit is contained in:
Timotei Dolean 2010-07-23 17:38:55 +00:00
parent 9c85262c71
commit cd6d064437
14 changed files with 6 additions and 6 deletions

View File

@ -41,12 +41,12 @@
processor.transform(); processor.transform();
data.innerHTML = processor.output; data.innerHTML = processor.output;
} }
// separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+ // separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
function transform(){ function transform(){
returnval+=1; returnval+=1;
if (returnval==2){ if (returnval==2){
var processor = new XSLTProcessor(); var processor = new XSLTProcessor();
processor.importStylesheet(stylesheet); processor.importStylesheet(stylesheet);
doc = processor.transformToDocument(xmlFile); doc = processor.transformToDocument(xmlFile);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML; document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
} }
@ -56,7 +56,7 @@
<body onload="init();"> <body onload="init();">
<!--[insert static HTML here]--> <!--[insert static HTML here]-->
<div id="data"><!-- this is where the transformed data goes --></div> <div id="data"><!-- this is where the transformed data goes --></div>
Last Update: 23 May 2010 10:42 GMT <br/><br/> Last Update: 23 July 2010 19:32 GMT<br/>
Documentation: <a href="README.pdf">README.pdf</a> Documentation: <a href="README.pdf">README.pdf</a>
</body> </body>

View File

@ -3,12 +3,12 @@
<description name="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/"> <description name="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/">
The default update site for Wesnoth Eclipse Plugins The default update site for Wesnoth Eclipse Plugins
</description> </description>
<feature url="features/Wesnoth_Eclipse_Plugin_0.1.0.jar" id="Wesnoth_Eclipse_Plugin" version="0.1"> <feature url="features/Wesnoth_Eclipse_Plugin_0.2.0.jar" id="Wesnoth_Eclipse_Plugin" version="0.2">
<category name="eclipse_plugins"/> <category name="eclipse_plugins"/>
</feature> </feature>
<category-def name="eclipse_plugins" label="Eclipse Plugins"> <category-def name="eclipse_plugins" label="eclipse_plugins">
<description> <description>
This category contains Eclipse Plugins Here are the Eclipse Plugins
</description> </description>
</category-def> </category-def>
</site> </site>