[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-xml
Subject:    Re: [Fwd: gdome - can't add textnodes - assertion `new_priv != NULL'
From:       "T.J. Mather" <tjmather () tjmather ! com>
Date:       2002-06-16 6:05:26
[Download RAW message or body]

try

$titleNode->appendChild($tNode);
                          ^

also, in general it is good coding practice to use

use strict;

at the top of your code.  in this case it would have detected the error.

-tj

On Sun, 16 Jun 2002, Matthew Smith wrote:

> my $tNode = $gdomedoc->createTextNode($ctxt->{'Form'}{'title'});
> $titleNode->appendChild($tnode);


_______________________________________________
Perl-XML mailing list
Perl-XML@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic