On Sat, 2011-07-09 at 10:21 +0200, scribe...@gmail.com wrote: > You'll have to piece it together using the call I gave in the previous email > as the text node.
Thanks, yes, I did just that after your first mail. This is using XML::LibXML: ----------------------------------------- [..] foreach (@references) { my $ref = $_->getAttribute("osisRef"); $scope->setText($ref); $_->firstChild->replaceDataString( $_->textContent(), $scope->getRangeText() ); } _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page