Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: SetParameter in XSL

From: Bjoern Hoehrmann <bjoern@---------.-->
To: 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/ 


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent