T
Toxician
why can i use javascrtip to output the file below into html
and also able to use xslt to do the same thing ???
xml.xml
<root>
<node>This is a node </node>
<root>
************************
xml.js
var doc=new activeobject("ms.xmldom");
doc.load (xml.xml);
doc.writeln(doc.nodename);
doc.writeln(doc.firstchild);
************************
************************
xml.xsl
<xsl:stylesheet ..etc..>
<xsl:template match='root'>
<body><xsl:valueof select="child"/></body>
</xsl:template>
</xsl:stylesheet>
************************
Please tel me the differnce i just leanr the basic transform, pleaee...
and also able to use xslt to do the same thing ???
xml.xml
<root>
<node>This is a node </node>
<root>
************************
xml.js
var doc=new activeobject("ms.xmldom");
doc.load (xml.xml);
doc.writeln(doc.nodename);
doc.writeln(doc.firstchild);
************************
************************
xml.xsl
<xsl:stylesheet ..etc..>
<xsl:template match='root'>
<body><xsl:valueof select="child"/></body>
</xsl:template>
</xsl:stylesheet>
************************
Please tel me the differnce i just leanr the basic transform, pleaee...