Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to convert FMPXMLRESULT to XFA?
    primarykey
    data
    text
    <p>I'm trying to create an XSL that will convert FMPXMLRESULT file to a XFA compliant xml file. The purpose is to fill a pdf form.</p> <p>The problem is all field names in Filemaker are different from the pdf form.</p> <p>Here is a snippet of the fmpxmlresult file :</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt; &lt;FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult"&gt; &lt;ERRORCODE&gt;0&lt;/ERRORCODE&gt; &lt;PRODUCT BUILD="01-25-2011" NAME="FileMaker" VERSION="ProAdvanced 11.0v3"/&gt; &lt;DATABASE DATEFORMAT="Yyyy-m-d" LAYOUT="" NAME="maisem" RECORDS="59" TIMEFORMAT="k:mm:ss "/&gt; &lt;METADATA&gt; &lt;FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="reportCode" TYPE="TEXT"/&gt; &lt;FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="appraisalDate" TYPE="DATE"/&gt; &lt;FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="buildingValue" TYPE="NUMBER"/&gt; &lt;FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="landValue" TYPE="NUMBER"/&gt; &lt;FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="totalValue" TYPE="NUMBER"/&gt; ... &lt;/METADATA&gt; &lt;RESULTSET FOUND="1"&gt; &lt;ROW MODID="1156" RECORDID="119"&gt; &lt;COL&gt;&lt;DATA&gt;TEST-141-361-2-0-A&lt;/DATA&gt;&lt;/COL&gt; &lt;COL&gt;&lt;DATA&gt;2011-02-10&lt;/DATA&gt;&lt;/COL&gt; &lt;COL&gt;&lt;DATA&gt;57000&lt;/DATA&gt;&lt;/COL&gt; &lt;COL&gt;&lt;DATA&gt;6500&lt;/DATA&gt;&lt;/COL&gt; &lt;COL&gt;&lt;DATA&gt;63500&lt;/DATA&gt;&lt;/COL&gt; ... &lt;/ROW&gt; &lt;/RESULTSET&gt; &lt;/FMPXMLRESULT&gt; </code></pre> <p>Here is the equivalent in XFA :</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xfa:data xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"&gt; &lt;form1&gt; &lt;subform&gt; &lt;reference_number&gt;TEST-141-361-2-0-A&lt;/reference_number&gt; &lt;date_of_appraisal&gt;2011-02-10&lt;/date_of_appraisal&gt; &lt;cityBuildingAssess&gt;57000&lt;/cityBuildingAssess&gt; &lt;cityLandAssess&gt;6500&lt;/cityLandAssess&gt; &lt;cityTotalAssess/&gt;63500&lt;/cityTotalAssess&gt; ... &lt;/subform&gt; &lt;/form1&gt; ... &lt;/xfa:data&gt; </code></pre> <p>I have found examples where the fields have identical names, but it is not the case with the current system.</p> <p>This is only a fraction of the fields. There are over 600 fields to fill in the form. So, I'm aware that this is going to be a huge job. :S</p> <p>Thanks for any help</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload