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 3456760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:46:36+00:00 2026-05-18T09:46:36+00:00

I have an xml file that contains in products. File’s structure this: <?xml version=1.0

  • 0

I have an xml file that contains in products.
File’s structure this:

<?xml version="1.0" encoding="iso-8859-2"?>
  <service >
   <product id="2476" sku="SA 177-2" category="51" visible="1" >
     <title><![CDATA[Fedde Le Grand - OUTPUT]]></title>
     <short><![CDATA[Fedde Le Grand presents OUTPUT...]]</short>
     <long />
     <category><![CDATA[elektronika/dance/ambient]]></category>
     <price>1600</price>
     <vat>25</vat>
     <image>200909/92917a17f143088ce219_20090907.jpg</image>
     <actor><![CDATA[Fedde le Grand]]></actor>
     <album><![CDATA[Output]]></album>
     <label><![CDATA[CLS]]></label>
     <type><![CDATA[Audio CD]]></type>
   </product>
  </service>

I would like to use magento’s import system, but it does not work. I set maps in Profile Actions XML. This file’s structure:

<action type="dataflow/convert_parser_xml_excel" method="parse">
    <var name="single_sheet"><![CDATA[]]></var>
    <var name="fieldnames"></var>
    <var name="map">
        <map name="product_category"><![CDATA[category_ids]]></map>
        <map name="product_sku"><![CDATA[sku]]></map>
        <map name="title"><![CDATA[name]]></map>
        <map name="short"><![CDATA[short_description]]></map>
        <map name="long"><![CDATA[description]]></map>
        <map name="price"><![CDATA[price]]></map>
        <map name="vat"><![CDATA[tax_class_id]]></map>
        <map name="image"><![CDATA[image]]></map>
        <map name="actor"><![CDATA[meta_description]]></map>
        <map name="album"><![CDATA[meta_title]]></map>
        <map name="label"><![CDATA[meta_keyword]]></map>
        <map name="type"><![CDATA[samples_title]]></map>
    </var>
    <var name="store"><![CDATA[0]]></var>
    <var name="number_of_records">1</var>
    <var name="decimal_separator"><![CDATA[.]]></var>
    <var name="adapter">catalog/convert_adapter_product</var>
    <var name="method">parse</var>
</action>

.result is FOUND 0 ROWS, so it failed. Anyone could help me? I don’t understand this problem.
Greetings, Roland Dercsenyi

  • 1 1 Answer
  • 4 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-05-18T09:46:37+00:00Added an answer on May 18, 2026 at 9:46 am

    You have to write your own parser class and then use the advanced profiles. The convert_parser_xml_excel expects a file in the excel xml format.
    If you look at the Mage_Dataflow_Model_Convert_Parser_Xml_Excel::parse() function you’ll see it expects a different xml format than you have.

    //excerpt from Mage_Dataflow_Model_Convert_Parser_Xml_Excel::parse()
        $worksheet = $this->getVar('single_sheet', '');
    
                $xmlString = $xmlRowString = '';
                $countRows = 0;
                $isWorksheet = $isRow = false;
                while (($xmlOriginalString = $batchIoAdapter->read()) !== false) {
                    $xmlString .= $xmlOriginalString;
                    if (!$isWorksheet) {
                        $strposS = strpos($xmlString, '<Worksheet');
                        $substrL = 10;
                        //fix for OpenOffice
                        if ($strposS === false) {
                            $strposS = strpos($xmlString, '<ss:Worksheet');
                            $substrL = 13;
                        }
    

    To resume:

    1. you have to use the advanced profiles and write your own parser function
    2. use the xml import profile as a base and write your own class and parse function using the Mage_Dataflow_Model_Convert_Parser_Xml_Excel as a demo
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an xml file that contains this data: `<?xml version=1.0 encoding=UTF-8?> <WordList> <Words
I have an xml file that contains a structure.. In this structure, I have
I have an XML file that contains authors and editors. <?xml version="1.0" encoding="UTF-8"?> <?oxygen
I have an XML file format that contains a structure of questions: <question id=q101>
I have an XML file that contains a version number (major.minor.build) element and I'd
To start off, I have this XML file that contains recursive parent-child elements. Here
I have a XML file that contains <car> <id>123</id> <sunroof>FALSE</sunroof> <service>TRUE</service> </car> The following
I have an XML file with element Product that contains Name and Price in
I have an xml file that contains its element like <ab:test>Str</ab:test> When I am
Me again... I have an XML File that contains different categories which I would

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.