Just an FYI...I finally found out what was going on with the failing component of the parameter. I had some time constraints that made me go another direction with my solution on Friday. At any rate, here is the working section of xml you saw before: <style basedir="." destdir="." extension=".xml" style="retrieval.xsl" in="OWSystem_Paths.xml" out="retrieval.xml" processor="xalan"> <param name="platform" expression="'${jde.osrunning}'"/> </style>
The key is expression="'${jde.osrunning}'". Notice the single quotes. This is what is not happening within my javascript. I am not sure how I can simulate this, but I don't know if I will have to. I will try to work on this when my second solution is finished and rolled out. I saw this when I was trying to get the [style] task to work but never put 2 and 2 together. Hope this is helpful for someone else. I will post a solution if and when I have a chance to get that done. Anyone with the curiosity burning, please post the solution. Thanks Diane for your feedback and reproduction of the issue. It always helps to kickstart the juices when they stop flowing. Mike B. -----Original Message----- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 5:33 PM To: Ant Users List Subject: RE: XSLT issue with sending a parameter through javascript.... Actually, I could've saved myself the trouble of diddling the source file, compiling, and updating ant.jar if I'd just gone downstairs and gotten my XSLT book :) I've now done that (and I now know what a XSL parameter even is and how to use one), and yeah, the parameter is getting passed and their value is getting through to the resultant output file. IOW, my (your) <script> works the same as my <style> task. If I could find a download for the earlier Xalan, I'd put that to the test, since it doesn't *seem*, from looking at the code, that that should make any kind of difference at all (think: red herring :) The only other change I made (besides not including your debug statements) was to not bother setting 'extension' either, since it didn't seem to have any affect (not 100% sure why, but I suspect it has to do with the fact that 'in' and 'out' are being specified instead of just a set of source files, thus rendering 'extension' a no-op). Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>