Re: [EP-tech] Insert an html to dom (HIERARCHY_REQUEST_ERR) in eprint_render
Yuri via Eprints-tech <[email protected]>
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|36264d2c4f598f753d9aa35f120b6051v5PEMY14eprints-tech-bounces|ecs.soton.ac.uk|[email protected]> |
Any idea? I'm starting the tediuos process of "->make_element ->appendChild"... Il 26/06/19 11:42, Yuri via Eprints-tech ha scritto: > 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? > > > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf46560b82ed448b8bdf208d6fa394c73%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=BKpYkJ%2B5iFsD0iAhWGHqOGVoQFfSX28ZyMcAhI1LSxU%3D&reserved=0 > *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf46560b82ed448b8bdf208d6fa394c73%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=1YIM%2Fei9tPox%2FnNq3pxhE1CDpicq%2BOB15K6BdvcuToE%3D&reserved=0 > *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf46560b82ed448b8bdf208d6fa394c73%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=EZChsfkwverVIMB6LPytQ6e%2BVRxoj28gSDG%2FKo8QBTY%3D&reserved=0 *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/