<html>
<adal>
<Title> 笨狼 xslt 练习器 _ 错新站长站 </Title>
<style>
corps
{
taille de police: 12;
Contexte: #dadada;
marge-gauche: 20;
}
#blockxml
{
Font-Family: Verdana;
taille de police: 12px;
débordement: défilement;
hauteur: 400;
en haut: 40;
Gauche: 20;
}
saisir
{
Largeur: 350;
}
#blockxsl
{
Position: absolue;
Font-Family: Verdana;
taille de police: 12px;
débordement: défilement;
hauteur: 400;
en haut: 40;
}
#montre-moi
{
Font-Family: Verdana;
taille de police: 12px;
hauteur: 100;
débordement: visible;
TOP: 300;
Gauche: 20;
}
</ style>
</ Head>
<body>
<putyType = "file" id = "filexml" onchange = "showxml ();" /> xml
<putyType = "file" id = "filexsl" onchange = "showxsl ();" /> xsl
<FutontonClick = "ParsExml ();"> 开始转换 </futton>
<FutontonClick = "Browse ();"> 预览结果 </futton>
<TextAreAid = "BlockXML"> </ TextArea>
<TextAreAid = "BlockXSL"> </ TextArea>
<TextAreAid = "Showme"> </ TextArea>
<criptLanguage = "JavaScript">
window.resizeto (window.screen.availwidth, window.screen.availight);
window.moveto (0,0);
BlockXML.STYLE.Width = paSeInt (Window.Screen.AvailWidth * 0,46);
BlockXSL.STYLE.Width = Blockxml.Style.Width;
BlockXSL.STYLE.LEFT = PARSEINT (Window.Screen.AvailWidth * 0,46) +30;
showme.style.width = parseInt (window.screen.availwidth * 0,92) +10;
varfso
fso = newActivexObject ("scripting.filesystemObject");
VarXMLDOC, XSLDOC;
xMLDOC = newActiveXObject ("Msxml2.DomDocument");
xslDoc = newActiveXObject ("msxml2.domDocument");
xmldoc.async = false;
xsldoc.async = false;
functionbrowse ()
{
varwin = window.open ();
win.document.write (showme.value);