Thursday 23 October 2003 1:54:55 am
Hi, I'm using the following template code in a forum line view override:
{default node_name=$node.name posts=fetch(content, list_count, hash(parent_node_id, $node.node_id, class_filter_type, include, class_filter_array, array(7)) )}<a href={concat('content/view/full/',$node.node_id)|ezurl}>{$node_name|wash}</a> ({$posts} innlegg){/default}<br /> {$node.data_map.description.data_text}<br /><br /> However, for some strange reason, the variable $node.data_map.description.data_text produces the following output in addition to the description text:
<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
<paragraph>[[DESCRIPTION]]</paragraph> </section> This causes, among other things, an error in my code because of several XML top elements. Any idea why the variable is generating such code?
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|