On Thursday 29 August 2002 20:07, Don Shanks wrote:
> I am hoping this is obvious to someone, it's not to me. The data below
> is what my taglib returns;
>
> <page>
> <content>
>
> <table_data>foo</table_data>XML::LibXML::Element=SCALAR(0x8d8b068)</cont
> ent>
> </page>
>
> This is the code that makes it:
>
> my $doc = new
> XML::LibXML->parse_string("<table_data>foo</table_data>");
> if ($doc) {
> my $root = $doc->getDocumentElement();
> $root = $document->importNode($root,1);
> $parent->appendChild($root);
> } else {
> die "XML::LibXML returned undef";
> }
>
Since I don't know what taglib helper module (if any) you are using, I can
only guess, but it looks much like you just need to append:
return "";
since almost always the return value is inserted into the code one way or
another.
CU
J�rg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]