Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: hello, newb question about xslt hello, newb question about xsltTo: NULL Date: 12/5/2006 2:22:00 AM
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...
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
