kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php
function createAndPublishElement( $elementName, &$ret )
    {
        $element = $this->Document->createElement( $elementName );
        $element->setAttributeNS( 'http://ez.no/namespaces/ezpublish3/temporary/', 'tmp:new-element', 'true' );

        if ( !isset( $ret['new_elements'] ) )
        {
            $ret['new_elements'] = array();
        }

        $ret['new_elements'][] = $element;
        return $element;
    }
function createAndPublishElement( $elementName, &$ret )
    {
        $element = $this->Document->createElement( $elementName );
        $element->setAttributeNS( 'http://ez.no/namespaces/ezpublish3/temporary/', 'tmp:new-element', 'true' );

        if ( !isset( $ret['new_elements'] ) )
        {
            $ret['new_elements'] = array();
        }

        $ret['new_elements'][] = $element;
        return $element;
    }
function createAndPublishElement ( $ elementName , & $ ret ) { $ element = $ this -> Document -> createElement ( $ elementName ) ; $ element -> setAttributeNS ( 'http://ez.no/namespaces/ezpublish3/temporary/' , 'tmp:new-element' , 'true' ) ; if ( ! isset ( $ ret [ 'new_elements' ] ) ) { $ ret [ 'new_elements' ] = array ( ) ; } $ ret [ 'new_elements' ] [ ] = $ element ; return $ element ; }
and call 'structure' and 'publish' handlers)
and call structure and publish handlers )