Skyzyx
09-11-2002, 05:29 PM
Using the various XML import scripts I've found here, along with a few other references, I've managed to get my importXML.htm page to work (read http://www.codingforums.com/showthread.php?s=&threadid=4548).
The new issue at hand is that when I save XML data to a JavaScript variable, I can't seem to get CSS style sheets to apply.
For example:
document.write('<table><tr><td style="font-size:8pt;color:#FF0000">'+myJsVariableOfXmlData+'</td></tr></table>');
This doesn't seem to work. I've heard of XSL, but don't really know how it works. Could somebody give me an example of how to do the above task with XSL?
The new issue at hand is that when I save XML data to a JavaScript variable, I can't seem to get CSS style sheets to apply.
For example:
document.write('<table><tr><td style="font-size:8pt;color:#FF0000">'+myJsVariableOfXmlData+'</td></tr></table>');
This doesn't seem to work. I've heard of XSL, but don't really know how it works. Could somebody give me an example of how to do the above task with XSL?