in reply to Re^12: {KOHA}Parse XML and assign to variables.
in thread {KOHA}Parse XML and assign to variables.
Then we will need to look at a very minimal sample of your call to AddMember and how you retrieve the data from the database again. For example, the following program will insert data into the database:
# Use whatever modules KOHA needs: use ...; AddMember( firstname => 'scolife', lastname => "scolife's last name", ... );
If that program works, then you will need to find out what makes your data in %newdata different from what you pass explicitly. I suggest getting an output via Data::Dumper:
use Data::Dumper; print Dumper \%newdata;
|
|---|