[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Invoking a servlet with document


Subject: [xsl] Invoking a servlet with document
From: "Crook, Charles" <CrookC@xxxxxxxxxxxxx>
Date: Fri, 31 Aug 2001 08:34:44 -0400

>From the earlier postings about using document to get content:
<xsl:variable name="httpReq"
select="document('http://www.w3schools.com/xml/note.xml')"/>
<xsl:template match="/">
	<xsl:copy-of select="$httpReq" />
</xsl:template>


Couldn't this also be a call to a servlet that returns content?

<xsl:variable name="httpReq"
select="document('http://mydomain.com/ContentServlet')"/>

I was thinking of using this to generate page layouts, such as menus, which
are dynamically built by an application server's components.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread