Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8146405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:59:06+00:00 2026-06-06T13:59:06+00:00

I’m trying to export a product database out of FileMakerPro into a WordPress import

  • 0

I’m trying to export a product database out of FileMakerPro into a WordPress import XML structure.

There are many fields in the desired XML structure that I don’t need to add values to, but there are some fields that I need to update. Once I have a working prototype I should be able to put the finishing touches on it.

I’m using a program called XSLPallete to do the transform. Are there other easy ways to apply the XSL to the XML?

The exported data

<RESULTSET FOUND="745">
        <ROW MODID="108" RECORDID="586">
            <COL>
                <DATA>Product 1 name</DATA>
            </COL>
            <COL>
                <DATA>$XXX.XX</DATA>
            </COL>
            <COL>
                <DATA>image reference</DATA>
            </COL>
            <COL>
                <DATA>product description</DATA>
            </COL>
        </ROW>
        <ROW MODID="48" RECORDID="587">
            <COL>
                <DATA>Product two name</DATA>
            </COL>
            <COL>
                <DATA>$XXX.XX<DATA>
            </COL>
            <COL>
                <DATA>image reference</DATA>
            </COL>
            <COL>
                <DATA>product description</DATA>
            </COL>
        </ROW>

Here is the desired output structure

<item>
    <title>Product Name</title>
    <link>url + post_name</link>
    <pubDate>date</pubDate>
    <dc:creator>user</dc:creator>
    <guid isPermaLink="false"></guid>
    <description></description>
    <content:encoded><![CDATA[]]></content:encoded>
    <excerpt:encoded><![CDATA[]]></excerpt:encoded>
    <wp:post_id>29</wp:post_id>
    <wp:post_date>timestamp</wp:post_date>
    <wp:post_date_gmt>timestamp</wp:post_date_gmt>
    <wp:comment_status>open</wp:comment_status>
    <wp:ping_status>open</wp:ping_status>
    <wp:post_name>post_name</wp:post_name>
    <wp:status>publish</wp:status>
    <wp:post_parent>0</wp:post_parent>
    <wp:menu_order>0</wp:menu_order>
    <wp:post_type>product</wp:post_type>
    <wp:post_password></wp:post_password>
    <wp:is_sticky>0</wp:is_sticky>
    <category domain="product_cat" nicename="the_category"><![CDATA[Apple]]></category>
    <wp:postmeta>
        <wp:meta_key>_edit_last</wp:meta_key>
        <wp:meta_value><![CDATA[3]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>seo_follow</wp:meta_key>
        <wp:meta_value><![CDATA[false]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>seo_noindex</wp:meta_key>
        <wp:meta_value><![CDATA[false]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>total_sales</wp:meta_key>
        <wp:meta_value><![CDATA[0]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_regular_price</wp:meta_key>
        <wp:meta_value><![CDATA[2499]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_sale_price</wp:meta_key>
        <wp:meta_value><![CDATA[]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_tax_status</wp:meta_key>
        <wp:meta_value><![CDATA[taxable]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_tax_class</wp:meta_key>
        <wp:meta_value><![CDATA[]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_visibility</wp:meta_key>
        <wp:meta_value><![CDATA[visible]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_purchase_note</wp:meta_key>
        <wp:meta_value><![CDATA[]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_featured</wp:meta_key>
        <wp:meta_value><![CDATA[yes]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_weight</wp:meta_key>
        <wp:meta_value><![CDATA[4]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_length</wp:meta_key>
        <wp:meta_value><![CDATA[45]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_width</wp:meta_key>
        <wp:meta_value><![CDATA[35]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_height</wp:meta_key>
        <wp:meta_value><![CDATA[10]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_sku</wp:meta_key>
        <wp:meta_value><![CDATA[9999]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_product_attributes</wp:meta_key>
        <wp:meta_value><![CDATA[a:0:{}]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_downloadable</wp:meta_key>
        <wp:meta_value><![CDATA[no]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_virtual</wp:meta_key>
        <wp:meta_value><![CDATA[no]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_sale_price_dates_from</wp:meta_key>
        <wp:meta_value><![CDATA[]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_sale_price_dates_to</wp:meta_key>
        <wp:meta_value><![CDATA[]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_price</wp:meta_key>
        <wp:meta_value><![CDATA[$price]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_stock</wp:meta_key>
        <wp:meta_value><![CDATA[]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_stock_status</wp:meta_key>
        <wp:meta_value><![CDATA[instock]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_backorders</wp:meta_key>
        <wp:meta_value><![CDATA[no]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_manage_stock</wp:meta_key>
        <wp:meta_value><![CDATA[no]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
        <wp:meta_key>_thumbnail_id</wp:meta_key>
        <wp:meta_value><![CDATA[30]]></wp:meta_value>
    </wp:postmeta>
</item>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:59:08+00:00Added an answer on June 6, 2026 at 1:59 pm

    Here is an XSLT 1.0 style-sheet to get you started. You can build on this once you have decided the rules of transformation.

    This style-sheet, when applied to your sample input …

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 
    
    <xsl:template match="/">
     <items>
       <xsl:apply-templates select="RESULTSET/ROW" />
      </items>
    </xsl:template>
    
    <xsl:template match="ROW">
     <item>
       <title><xsl:value-of select="COL[1]/DATA" /></title>
       <description><xsl:value-of select="COL[4]/DATA" /></description>
      </item>
    </xsl:template>
    
    </xsl:stylesheet> 
    

    … will produce the following output document …

    <items>
      <item>
        <title>Product 1 name</title>
        <description>product description</description>
      </item>
      <item>
        <title>Product two name</title>
        <description>product description</description>
      </item>
    </items> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
In my XML file chapters tag has more chapter tag.i need to display chapters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.