![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - SetParameter in XSL >Thread Next - Re: SetParameter in XSL Re: SetParameter in XSLTo: NULL Date: 2/5/2007 5:09:00 PM * ignignokt wrote in microsoft.public.xml: >I have a new question for this issue. I have created the >setParameter >in the HTML and created the parm name and sort on the param in the >XSL >file but nothing happens when I click on the link and try to run the >script. Any advice is greatly appreciated: Your example code does not include any link that could be clicked on, and you failed to say where you tried this, but I will note a few things: > var xsltProcessor = new XSLTProcessor(); Note that this will not work in Internet Explorer. If you are not concerned about Internet Explorer, posting to microsoft.public.xml might not be a good idea. Further note that you are relying on a browser-specific feature that is not described in any standard. > var myXMLHTTPRequest = new XMLHttpRequest(); > myXMLHTTPRequest.open("GET", "c:\videocatalog\config\vid.xsl", false); > myXMLHTTPRequest.send(null); The second parameter to open() is a URL, not a file path, and in any case you should escape the "\" character to avoid it being misinter- preted. Note that `new XMLHttpRequest()` will not work in IE6. ><font face="Arial" size="6">Video Catalog v1.0</font> You might want to read up on Cascading Style Sheets which greatly ease visual formatting of web documents. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
