This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Extensions » ezxmlexport extension won't export...

ezxmlexport extension won't export content with img properly

ezxmlexport extension won't export content with img properly

Tuesday 27 April 2010 4:38:27 am - 1 reply

Hi all,

eZ 4.1.3, PHP 5.2.12, CentOS 5.4, MySQL 5.0.22

Using the ezxmlexport extension, the default XML file that is generated before any transformations are applied doesn't include any image wrapped in a link.

For example, a content-object uses this eZ XML text:

 <link target="_blank" node_id="5835"><embed size="standard" 
view="embed" align="right" object_id="5889" custom:offset="0" 

But after exporting this using ezxmlexport, viewing the raw XML that it produces, the <embed> element is removed and not converted, but the <link> element is converted to <a> as I expect.

I've looked all the way up to ez's ezXMLSchema and eZXMLInputParser and I'm not sure if becuase it's written as a self-closing tag (<embed/>blunk.gif Emoticon and has no closing tag, it's not being recognised or what.

Does anyone have any pointers at all?


Thursday 29 April 2010 11:00:39 pm

So I must've made a mistake - ezxmlexport does export the <img> element but it's the data_import extension that parses this XML that's importing everything else, but is rippin gout the <img/> tag from between <a> tags.

If anyone knows a little about ezxmltext in general, how eZ handles it etc, I'd be interested to hear from you as I'm struggling a little going up as far as eZSimplifiedXMLInputParser and eZXMLInputParser.



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from