Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

Person.CSP — The HTML

Open the newly imported Person.CSP in Studio. Here is the code that it contains:


<%@ PAGE LANGUAGE="mvBASIC" %>
<html>
<head>

<link rel="stylesheet" type="text/css"
href="table_style.css" />

<title> Persons </title>

</head>

<body>

<table align="center">
<tr><th>Name</th><th>Age</th><th >Hair</th>
<th>View Phones</th></tr>
<caption>Person List</caption>
</table>
</body>
</html>

This file contains all of the HTML code that we need to develop Person.CSP. Notice the following:

  1. There is a Page directive at the very top of the file that sets the default language of the page to MVBasic.

  2. There is a <link/> tag between the <head></head> tags. This tag links the CSP page to the style sheet that contains HTML styling information.

  3. There are <table></table> tags between the <body></body> tags. These tags define the HTML table that will format the data from MVFILE.PERSON.

Feedback