The Results XML
The Results XML is the XML format that Moose is expecting
from Services that are of Type "Search".
Root Node: results
Main Elements:
- <header> - Contains the titles for the columns.
<header>
<col value="Title"/>
<col value="Title for Column 2"/>
</header>
- <row> - For each row returned there should be a row element entry, which will contain 'col's
- <col> - A col element is found for each cell entry in the row.
Attributes:
- value
- type
- pan - Will pan to a location and label it, as specified by x,y, and label.
- link - Links to another page specified by the attribute "src".
- internal - Runs the Javscript specified in the attribute "command".
- image - Will place an image in the cell specified by the attribute "src".
- Not Specified - Simply displays the data.
- command - Javascript to run when the type is set to "internal".
- href - When the type is set to Link or Image, sets the link location.
- x,y - X and Y Coordinates for a col of type "pan".
- label - What to label the point from a "pan".
- src - Source for the Images when the col is set to type "image"
Example Here
(C) 2006 City of Saint Paul, All Rights Reserved.
Updated: Nov 2, 2006
Note: This page is optimized for Mozilla Firefox 1.5+