Hi Kees, I adapeted your script to a servlet, and I managed to import all images needed without problems. Thanks! Would be nice if the XML importer could handle binary fields though... I see in the dtd that you can use an attribute 'url' in the setField tag: <!ELEMENT setField (#PCDATA) > <!ATTLIST setField name CDATA #REQUIRED> <!ATTLIST setField url CDATA #IMPLIED>
But it is not mentionned anywhere else in the docs. Maybe this was meant to import e.g. images? Regards, Bart -----Original Message----- From: Kees Jongenburger [mailto:[EMAIL PROTECTED] Behalf Of Kees Jongenburger Sent: vrijdag 5 maart 2004 22:19 To: [EMAIL PROTECTED] Subject: RE: importing images Hi Bart, I am sorry, I tried to give you a quick answer (I had to go the developers meeting) I actually don't know if the XML importer is capable of importing binary data. The script I sent doesn't work unless you remove the third line of the script "# Kees Jongenburger" and read up on http://www.mmbase.org/docs/backenddevelopers/rmmci.html to enable rmmci and download beanshell. Secondly and I think this is a more "generic" problem while importing larger amounts of data you need to set the node cache to a lower value otherwise you will get OutOfMemmory exception. Let me/us know how it goes. Kees
<<attachment: winmail.dat>>
