This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Invoking a servlet with document



>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]