Re: copying nodes from one xml file to an other

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Tere Kristian,

Am 07.04.2010 um 10:55 schrieb Kristian Kankainen:
> Tere Miikael!
> 
>> Take a look at *importNode* and *adoptNode* in XML::LibXML::Document.
> This I allready did, but doesn't seem to work with XML::LibXML::Reader nodes, eg
> $outxml->adoptNode( $reader->copyCurrentNode );
> doesn't seem to do anything (not even a warning or error)

Then I suggest you post your code sample in the form of a runnable program stripped down to the bare minimum so we can try and figure out what the error is.

-- 
Michael.Ludwig (#) XING.com

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.