Passing a para

Results 1 to 2 of 2

Thread: Passing a para

  1. #1
    Join Date
    Dec 1969

    Default Passing a para

    Hi,<BR>I have a sub in a XSL file and would like to pass a few parameters to a new page. I tried the "&" Like this<BR>strURL = "Test.asp?para=" & variable but does not seem to work as I have this error on the XSL. <BR>Error parsing XML style sheet. Error:-1072896749 - Whitespace is not allowed at this location. <BR><BR>This is my SUB<BR>&#060;script type="text/vbscript"&#062;<BR><BR> Sub open_notes(stname)<BR> strURL = "/Test.asp?Para=" & stname <BR> set (strURL,"EditWindow","height=400,width=650,status= no,toolbar=no,menubar=no,location=no,scrollbars=ye s,titlebar=no,directories=no,resizable=yes,left=75 ,top=75")<BR> End Sub<BR>&#060;/script&#062;<BR><BR>Any help on how I can pass the parameter in this Sub in an XSL will be greatly appreciated<BR>Thanks<BR>BJ

  2. #2
    Join Date
    Dec 1969

    Default check for white spaces in stname

    you can do a replace(stname, " ", "+") to padd the URL.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts