dleslie 99/12/14 12:29:42
Modified: samples/applet client.html
Log:
no message
Revision Changes Path
1.3 +8 -5 xml-xalan/samples/applet/client.html
Index: client.html
===================================================================
RCS file: /home/cvs/xml-xalan/samples/applet/client.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- client.html 1999/12/14 19:02:46 1.2
+++ client.html 1999/12/14 20:29:42 1.3
@@ -5,6 +5,8 @@
</head>
<script language="JavaScript">
+ var target="";
+
function writeSource()
{
var sourceString = document.xslControl.getSourceTreeAsText();
@@ -33,7 +35,7 @@
doc.close();
}
- function writeTarget(target)
+ function writeTarget()
{
var doc = top.frames[3].document;
doc.open();
@@ -70,10 +72,11 @@
clearFrames();
var
xmlSource=document.xmlTransform.xmlSourceList.options[document.xmlTransform.xmlSourceList.selectedIndex].value;
document.xslControl.setDocumentURL(xmlSource);
- var target = document.xslControl.getHtmlText();
+ target = document.xslControl.getHtmlText();
+// alert("Output: " + target);
writeSource();
writeStylesheet();
- writeTarget(target);
+ writeTarget();
}
</script>
<body onLoad="clearFrames();" bgcolor="#808080" text="#ffffff">
@@ -109,8 +112,8 @@
<applet
name="xslControl"
code="org.apache.xalan.xslt.client.XSLTProcessorApplet.class"
- codebase="../../"
- archive ="xalan.jar,../xml-xerces/xerces.jar"
+ codebase="../../../"
+ archive ="xml-xalan/xalan.jar,xml-xerces/xerces.jar"
height="0"
width"0">
<param name="documentURL" value="xalanApplets.xml"/> <!--default
setting-->