Do you just want to include the text of the JSP page in your XML? In that case use:
Code:
<xsl:include href="test.jsp"/>
But this will treat the JSP as an XSLT document and merge them into one large XSLT.
If you want access to XML returned by executing the JSP then use the document function:
Code:
<xsl:variable name="externalData" select="document('http://myServer/mySite/test.jsp')"/>
<xsl:copy-of select="$externalData/*"/>
This will work with your given JSP as it's well-formed XML but not all HTML is.
--
Joe (
Microsoft MVP - XML)