I've got my ASP.NET pulling in the XML and XSL and outputting a HTML page but I can't seem to get the parameters to go through. Does anyone have any idea what to do here? Thanks
VB.NET:
Partial Class Default2
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim transformer As New XslCompiledTransform() ' create transformer
Dim args As XsltArgumentList
Dim XSLTsettings As New XsltSettings
XSLTsettings.EnableDocumentFunction = True
transformer.Load(New XPathDocument(Server.MapPath("nba_wap_rosters.xsl")), XSLTsettings, Nothing)
args.AddParam("TEAM", "", "11")
transformer.Transform(Server.MapPath("nba_all_roster.xml"), args, Server.MapPath("nba_roster.html"), Nothing)
Response.WriteFile(Server.MapPath("nba_roster.html"))
End Sub
End Class