Custom Web Publishing Guide

Table Of Contents
Accessing XML data with the Web Publishing Engine 29
<field name="Image">
<data>/fmi/xml/cnt/data.jpg?-db=art&amp;-lay=web&amp;-recid=1&amp;-field=Image(1)</data>
</field>
<field name="Description">
<data>Impressionist</data>
<data>French</data>
</field>
<relatedset count="2" table="artlocations">
<record mod-id="0" record-id="3">
<field name="artlocations::Location">
<data>Home</data>
</field>
<field name="artlocations::Date">
<data>1/1/2001</data>
</field>
</record>
<record mod-id="0" record-id="4">
<field name="artlocations::Location">
<data>Restoration</data>
</field>
<field name="artlocations::Date">
<data>12/15/2001</data>
</field>
</record>
</relatedset>
<field name="artistbio::birthdate">
<data>7/10/1830</data>
</field>
</record>
</resultset>
</fmresultset>
Using other FileMaker XML grammars
The other FileMaker XML grammars contain information about field types, value lists, and layouts.
FMPXMLRESULT is functionally equivalent to fmresultset. To access value lists and field display
information in layouts, you must use the FMPXMLLAYOUT grammar. The FMPXMLRESULT and
FMPXMLLAYOUT grammars are more compact for data interchange.
To use the FMPXMLRESULT grammar, specify the following grammar name in the URL requesting the
XML document from the Web Publishing Engine:
FMPXMLRESULT.xml
For example:
http://192.168.123.101/fmi/xml/FMPXMLRESULT.xml?-db=employees&-lay=family&-findall