Hi The code is correct we first load the xsl and transform xml using the xsl.
I like also to point out that the code as it stands is working without issue with weblogic 10 and websphere 7. The issue is after the xsl.load() method is called the xsl is blank. Sincerely, Robert Jenkin Surecomp Services, Inc. 2 Hudson Place, 4th Floor Hoboken, NJ 07030 Skype: robert.jenkin Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537 http://www.Surecomp.com -----Original Message----- From: rob.kob...@gmail.com [mailto:rob.kob...@gmail.com] On Behalf Of Rob Koberg Sent: Wednesday, February 23, 2011 9:51 AM To: Tomcat Users List Cc: Robert Jenkin Subject: Re: loading an xsl file in javascript > // sort the xml using xsl stylesheet > alert(getUrl() + "/reportwriter/xsl/treesort.xsl"); > xsl.load(getUrl() + "/reportwriter/xsl/treesort.xsl"); -------------^ > xml.loadXML(xml.transformNode(xsl)); ---------------------------------^ > > // Load XSL > alert(getUrl() + "/reportwriter/xsl/tree.xsl"); > xsl.load(getUrl() + "/reportwriter/xsl/tree.xsl"); Unless it is a typo, you are transforming your xml before you load it. You might want to check out Sarissa for client side transforms. best, -Rob This mail was sent via Mail-SeCure System. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org