Re: libXML, append and order
Thomas Krichel <[email protected]> Tue, 9 Aug 2011 12:33:06 +0200
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Maurice Mengel writes
> Is there away to add something to the beginning of a lodelist?
I'd try to find the parent $parent, and do something like
my $child_node = $parent->firstChild;
$parent->insertBefore( $newNode, $child_node );
Cheers,
Thomas Krichel http://openlib.org/home/krichel
http://authorprofile.org/pkr1
skype: thomaskrichel
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs