Quote:
|
quote:I'm not sure why you're using XSLT for this since it doesn't seem to be a transformation - what is the input? Why can't you just write a fixed HTML page?
|
I'm using the XSLT page with an XML/XSLT on-the-server transformation using ASP.NET's transformNode method. And I'm trying to do almost all of my solutions without much additional scripting if at all possible. But my new solution has been working very well, and only required that I pass a parameter from XSLT to ASP.NET back and forth using the following method in ASP.NET:
Code:
Dim record_id_qs = Request.QueryString("record_id")
Dim record_id
If record_id_qs = "" Then
record_id = ""
Else
record_id = xsl.selectSingleNode("//xsl:param[@name='record_id']")
record_id.SetAttribute("select", "'" & record_id_qs & "'")
End If
...and by adding that bit of JavaScript to the top of the page. It works for me, and it seems to be very efficient. If you have other ideas of how I could have accomplished the same thing in another way, I'd love to hear about it, as I'm always learning. Thanks Michael.
KWilliams