Forums / Suggestions / Content of custom tag as XML subtree

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Content of custom tag as XML subtree

Author Message

Anatoly Gubanov

Wednesday 06 April 2005 11:44:35 pm

It would be very useful to have access to content of custom taf as XML subtree and but not template processed result only. Now I overcome this situation following:
I inserted line:
$tpl->setVariable( 'custom_tag_content', $tag, 'xmltagns' );
after line number 630 in file kernel\classes\datatypes\ezxmltext\handlers\output\ezxhtmlxmloutput.php:
$tpl->setVariable( 'content', $childContent, 'xmltagns' );

Kristian Hole

Sunday 10 April 2005 2:09:12 am

Just out of curiosity: Why is this useful? When do you need this?

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute