I am not sure if this is the right place to put this or not. I have an XSL file, and in that file, I want to output the response from a URL:
In ASP, I could use like a WinHTTP object and output the response. The reason that I need to do it this way is because earlier in the XSL, the URL is generated and I don't know it prior to this point. Any thoughts?
Thanks!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform"[/URL] xmlns:fo="[URL unfurl="true"]http://www.w3.org/1999/XSL/Format">[/URL]
<xsl:template name="totalRetirementView">
<xsl:variable name="IncludeURL">
[URL unfurl="true"]http://somesite.com[/URL]
</xsl:variable>
<p>BLAH BLAH BLAH</p>
<!-- OUTPUT RESPONSE FROM $IncludeURL HERE -->
<p>BLAH BLAH BLAH</p>
</xsl:template>
</xsl:stylesheet>
In ASP, I could use like a WinHTTP object and output the response. The reason that I need to do it this way is because earlier in the XSL, the URL is generated and I don't know it prior to this point. Any thoughts?
Thanks!