Forums / Developer / createAndPublishObject and ezxmltext attributes

createAndPublishObject and ezxmltext attributes

Author Message

Sébastien Antoniotti

Friday 28 August 2009 7:10:03 am

Hi !

I would like to import xhtml content into ezxmltext attributes with a php-cli import script.

My problem is that I don't know how to parse the xhtml in order to fill my ezxmltext attribute...

There is this method : http://serwatka.net/blog/ezxmltext_how_to_store_and_ouput_your_content ... but it needs to create the object before parsing, and I need to parse before filling the attribute !

Thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr