Wednesday 24 March 2004 1:03:39 am - 3 replies
Paul Forsyth
Wednesday 24 March 2004 1:21:02 am
'data_text' contains the raw xml. use this to render the text as html:
{$node.data_map.description.content.output.output_text}
paul
Dominik Pich
Wednesday 24 March 2004 2:19:12 am
thank you :)
zurgutt -
Monday 24 October 2005 12:53:16 pm
I just had very similar problem with my xml import script, the output after import looked like
xmlns:xhtml='http://ez.no/namespaces/ezpublish3/xhtml/' ><paragraph><p>Some content here.</p></paragraph></sxmlns:xhtml='http://ez.no/namespaces/ezpublish3/xhtml/' >
Strangely enough that import code worked ok right up to version 3.6.0, the problem appeared in 3.6.2
The solution was a wild guess: in the beginning of text2xml code there is a section tag added around html data thus:
$inputData = "<section xmlns:image='http://ez.no/namespaces/ezpublish3/image/' xmlns:xhtml='http://ez.no/namespaces/ezpublish3/xhtml/' >";
The error will disappear if the tag is written on one line, without linebreak in it.
Certified eZ developer looking for projects. zurgutt at gg.ee
You must be logged in to post messages in this topic!