[EP-tech] Insert an html to dom (HIERARCHY_REQUEST_ERR) in eprint_render

Yuri yurj at alfa.it
Wed Jun 26 10:42:52 BST 2019


Hi!

  eprint_render here.

  I'm really bored of doing ->make_element ->appendChild to create an
html, so long and takes ages for a programmer (impossible for a
user/integrator). Is there another way? I've tried with

  my $citehtml = "<html here>";
  my $citexml = EPrints::XML::parse_string( undef, $citehtml );
  $citfrag->appendChild($citexml);

but it returns

appendChild: HIERARCHY_REQUEST_ERR

is there a way, for example to render something (xpage like) and insert
it in the dom?




More information about the Eprints-tech mailing list