Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

Using Query Data in a Web Page

Let's add to the HTML generated earlier by Studio (and shown at right in black.)

Our first step is to add a <csp:query> tag that identifies the query we want to use by its class name (Film) and query name (TopFilms). We also give this tag a name (FilmList) so that we can refer to it later.

<html> <body> 
<font color="#0000FF" size="+2"><b>Today's Top Picks</b></font>
<table border=0>
<csp:query name=FilmList classname="Film" queryname="TopFilms">
        <td> </td>
        <td> </td>
</body> </html>
Copy code to clipboard
FeedbackOpens in a new window