How to pass the constant variable to xslt , here I hard coded the college name in the xslt, but I don't want to do that way instead I want to pass that college name "CollegeName" as string.
< xsl: template match="/">
< xsl:for-each select="Analysis">
<html>
<body>
<table>
<tr>
<td width='100%' class='subLogo'>Rowan-cabarrus Comm College</td>
</tr>
</table>
</body>
</html>
</xsl:for-each>
</xsl:template>
.VB file
Dim CollegeName as Constant = Rowan-cabarrus Comm College
Dim reader As New XmlTextReader(New System.IO.StringReader(xmlstring))
reader.Read()
Dim objXSLTransform As New XslCompiledTransform()
objXSLTransform.Load(xsltFilePath)
Dim htmlOutput As New StringBuilder()
Dim htmlWriter As TextWriter = New StringWriter(htmlOutput)
objXSLTransform.Transform(reader, Nothing, htmlWriter)
reader.Close()
Return htmlOutput.ToString()