Re: [xsl] Filemaker XSL woes

Subject: Re: [xsl] Filemaker XSL woes
From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx>
Date: Thu, 27 Jul 2006 08:40:22 -0400
Mike,
I am new to XSLT so forgive me if this seems obvious. I have included a snippet of code for you to look at. What does it mean if it uses a namespace? I see that there is an attribute for xmlns=. Is that defining the namespace? Thanks for your response!



<?xml version="1.0" encoding="UTF-8" ?>
<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult";>
<ERRORCODE>0</ERRORCODE>
<PRODUCT BUILD="09-16-2004" NAME="FileMaker Pro" VERSION="7.0v3"/>
<DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME="Employee Database.fp7" RECORDS="16"
TIMEFORMAT="h:mm:ss a"/>
<METADATA>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="First_Name" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Last_Name" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Address1" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Address2" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="City" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="State" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Zip" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Home_Phone" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Mobile_Phone" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Work_Phone" TYPE="TEXT"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Email" TYPE="TEXT"/>
</METADATA>
<RESULTSET FOUND="16">
<ROW MODID="0" RECORDID="2">
<COL>
<DATA>Jaime</DATA>
</COL>
<COL>


On Jul 27, 2006, at 8:12 AM, Mike Ferrando wrote:

Chad C.,
Since you supply no code, I will go on memory.

I believe that the Filemaker xml output has a namespace.

Have you written you XSLT with that in mind?

Current Thread