XML FMPDSORESULT grammar
Spaces or single colons in field names are converted to underscores in the element names (for example,
<FIRST_NAME>). Double colons in
portal fields are converted to periods (for example,
<PHONE.PHONE_NUMBER>). This is done because colons are reserved in XML for specifying namespaces, and spaces are not allowed in XML element names.
The following is an example of XML in the FMPDSORESULT grammar. For complete details on the document type definition (
DTD) for the grammar, see the
fmpdsoresult_dtd.htm file, which is located in the Extras folder for your language where the FileMaker Pro application is installed. For example, FileMaker Pro > English Extras > Examples > XML Documentation folder.
<?xml version="1.0" encoding="UTF-8"?><FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult">
<ERRORCODE>0</ERRORCODE>
<DATABASE>PhoneList.fp5</DATABASE>
<LAYOUT>Web Layout</LAYOUT>
<ROW MODID="23" RECORDID="3">
<FIRST_NAME>John</FIRST_NAME>
<LAST_NAME>Smith</LAST_NAME>
<PHONE.PHONE_NUMBER>
<DATA>555-444-3333</DATA>
<DATA>555-222-9999</DATA>
</PHONE.PHONE_NUMBER>
</ROW>
<ROW MODID="32" RECORDID="6">
<FIRST_NAME>Barbara</FIRST_NAME>
<LAST_NAME>Jones</LAST_NAME>
<PHONE.PHONE_NUMBER>
<DATA>555-666-7777</DATA>
<DATA>555-333-0000</DATA>
<DATA>555-111-7654</DATA>
</PHONE.PHONE_NUMBER>
</ROW>
</FMPDSORESULT>