a0d3b4bd23
Co-Authored-By: Brent Murphy <56412096+bm11100@users.noreply.github.com> Co-Authored-By: Daniel Stepanic <57736958+dstepanic17@users.noreply.github.com> Co-Authored-By: David French <56409778+threat-punter@users.noreply.github.com> Co-Authored-By: Joe Desimone <56411054+joe-desimone@users.noreply.github.com> Co-Authored-By: Justin Ibarra <brokensound77@users.noreply.github.com>
22 lines
618 B
XML
22 lines
618 B
XML
<?xml version='1.0'?>
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
|
xmlns:user="http://mycompany.com/mynamespace">
|
|
|
|
<xsl:output encoding="UTF-8" indent="yes" method="xml" />
|
|
<msxsl:script language="JScript" implements-prefix="user">
|
|
function xml(nodelist)
|
|
{
|
|
var xhr=new ActiveXObject("Msxml2.XMLHttp.6.0");
|
|
xhr.open("GET","http://127.0.0.1:8000",false);
|
|
xhr.send();
|
|
|
|
return nodelist.nextNode().xml;
|
|
}
|
|
</msxsl:script>
|
|
<xsl:template match="/">
|
|
<xsl:value-of select="user:xml(.)"/>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|