<!DOCTYPE FMPXMLRESULT [
<!ELEMENT FMPXMLRESULT (ERRORCODE, PRODUCT, DATABASE, METADATA, RESULTSET)><!ATTLIST FMPXMLRESULTxmlns CDATA #REQUIRED><!ELEMENT ERRORCODE (#PCDATA)>
<!ELEMENT PRODUCT EMPTY>
<!ATTLIST PRODUCTNAME CDATA #REQUIREDVERSION CDATA #REQUIRED
BUILD CDATA #REQUIRED>
<!ELEMENT DATABASE EMPTY>
<!ATTLIST DATABASENAME CDATA #REQUIREDRECORDS CDATA #REQUIRED
DATEFORMAT CDATA #REQUIRED
TIMEFORMAT CDATA #REQUIRED
LAYOUT CDATA #REQUIRED>
<!ELEMENT METADATA (FIELD)*>
<!ELEMENT FIELD EMPTY><!ATTLIST FIELDNAME CDATA #REQUIREDTYPE (TEXT | NUMBER | DATE | TIME | TIMESTAMP | CONTAINER) #REQUIRED
EMPTYOK (YES| NO) #REQUIRED
MAXREPEAT CDATA #REQUIRED>
<!ELEMENT RESULTSET (ROW)*>
<!ATTLIST RESULTSETFOUND CDATA #REQUIRED><!ELEMENT ROW (COL)*>
<!ATTLIST ROWRECORDID CDATA #REQUIREDMODID CDATA #REQUIRED>
<!ELEMENT COL (DATA)*>
<!ELEMENT DATA (#PCDATA)>
]>
Error code for the query.
Information about the version of FileMaker that generated the XML.
Attribute:NAME
Product Name
VERSIONProduct version number.
BUILDProduct build number.
Information about the database specified in the query.
Attribute:NAME
Database name.
RECORDSTotal number of records in database.
DATEFORMATThe format that dates are stored in the database.
Field
Full Form
Short Form
Year
yyyy (4 digits)
yy (2 digits)
Month
MM (2 digits)
M (1 or 2 digits)
Day of month
dd (2 digits)
d (1 or 2 digits)
TIMEFORMATThe format that times are stored in the database.
Field
Full Form
Short Form
Hour (1-12)
hh (2 digits)
h (1 or 2 digits)
Hour (1-24)
kk (2 digits)
k (1 or 2 digits)
Minute
mm
Second
ss
AM/PM
a
LAYOUTThe name of the layout that was used to generate the result set.
This element contains one or more FIELD elements (see below).
Each field element contains information about one of the fields/columns in the result set.
Attributes:NAME
The name of the field as specified in the "Define Fields Dialog" in FileMaker
TYPE
The field type (see DTD for valid values)
EMPTYOK
Can the field be empty.
MAXREPEAT
The number of allowed repeating values.
Contains all of the rows returned in response to a query (see ROW below).
Attributes:FOUND
Total number of records found by the query.
Contains the field/column data for one row in the result set (see COL below).
Attributes:RECORDID
The record id for the row.
MODID
The modification id for the row.
The data for one field/column in a row. COL elements are specified in the same order as FIELD elements within the METADATA element. The COL element can contain multiple DATA elements for repeating and portal fields.
Each DATA element represents one of the values in the field/column.
Note: The content of picture fields will be in the form of a relative URL used for retrieving the image.
Copyright © 1999 - 2004 FileMaker, Inc. All rights reserved.