
December 17th, 2001, 06:00 AM
|
|
Junior Member
|
|
Join Date: Dec 2001
Location: Brazil
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
XSLT and Transform Node
I found I client-side script that convert XML into HTML files in the client without using any Activex or components. But the script is VBScript. I wanna know if there is a script like this but in javascript or other script language that works the same way in Netscape and IE. I'm send the code in the following:
<HTML>
<HEAD>
<TITLE>Using XLS and Data Island</TITLE>
</HEAD>
<XML id="style" src="people.xsl"></XML>
<XML id="source"src="people.xml"></XML>
<BODY>
<DIV id="xslPeople"></DIV>
</BODY>
</HTML>
<SCRIPT language=vbscript FOR="window" EVENT="onLoad">
xslPeople.innerHTML = source.transformNode(style.xmlDocument)
</SCRIPT>
|