Import XML into Domino

I have been given the task to import multiple XML files into a database and create new docs for each of these imported XML files. Each XML element needs to be put in certain fields.

Example:

timspcs should go into the text field on the form “PCName”.

Does the XML need to be valid in order to import it into a database or can it just be well-formed? Also is there a tutorial out there that will explain how to do this. I have looked all over, read the Red Books, downloaded a database from Notes Advisor (but don’t have the documentation for it). I’m just not understanding the import process.

Thanks,

Tim

Subject: Import XML into Domino

You can’t use the DXLImporter for this, as your XML to be imported is not im the required DXL format.Thats not a problem, because you can still do what you want via the NotesXMLProcessor classes.

Open a NotesStream, set the XML file as the input source for the stream, feed that into the NotesDOMParser and then “walk” the DOM tree, look for your nodes and attributes and create new documents and items on-the-fly. Sounds more complicated than it really is… Search this forum or the designer help db for NotesDOMParser for examples…

Thomas - IBM

Subject: RE: Import XML into Domino

Has anyone tries the NotesDOMParser Thomas talks about ???

If so, do you have any examples ???

I would really like to see examples for the SAX parser cause I´m also finding a way to import XML to Domino…

Thanks

Dora

Subject: Try this tool: ANDI at http://www.bpjl.com

Hi,

ANDI is a tool you can use to import XML files to Lotus Notes. It also includes XSL Lab, a usefull tool to practice XSL Transformer style sheet.

Subject: Import XML into Domino

I just finished one project which imported/parsed XMl (well-formed) files into Notes databases, and I used NotesSaxParser as I just wanted to several specified fields (like title, body, id…) and the file is small.

I could send you NotesSaxparse sample if you want, but I haven’t done any NotesDomParser…

Subject: RE: Import XML into Domino

Good day!

May I have a copy of your sample code also?

dawn@jpidev.com

Thank you.

D.

Subject: RE: Import XML into Domino

Hi Mike,I’m facing this issue at the moment. We have an XML file on the network which needs to be imported into the notes database. Each part of the XMl needs to be created as a Lotus Notes document. I’m trying to use the NotesSAX Parser class but am having little joy.

Could I please get a sample of your code? Richard.Starkey@fmc-asia.com

Thanks a lot.

Subject: RE: Import XML into Domino

Hi Mike,I´m having this problem with import not dlx format xml and I am wondering if you cold send me a sample of your code too!

Thanks a lot!

Marcio

mkataoka@vbinformatica.com.br

Subject: RE: Import XML into Domino

May I have a copy of your sample files. Please sent to francois@angelyu.idv.tw

Subject: RE: Import XML into Domino

I would really like to have your sample code as well.

email : rb413@rb.is

Subject: RE: Import XML into Domino

I just sent out the sample to you guys today. I haven’t checked this forum for sometime.

Mike

Subject: RE: Import XML into Domino

Dear Mike,it would be very helpful for me if you could send me your code, please … I have the same work to do …

Thanks in advance for your help.

My email is eric.cardone@voila.fr

Regards,

Eric.

Subject: RE: Import XML into Domino

This morning I sent one Notes DB and two XML files to Dawn, Richard, Marcio, Eric, but the email was returned from Richard Starkey. Do you have another email account?

Thanks,

Mike

Subject: RE: Import XML into Domino

Mike, , may I also have the Notes DB and XML files. On eof my projects requires import XML into Domino.Thanks

vivek_mehta74@yahoo.com

Subject: RE: Import XML into Domino

Mike,Wow, this XML code is very popular! Can you please send me the 2 dbs with sample code and the sample XML files. That would be fantastic.

email : stacey.patterson@pbsg.com

Thanks,

Stacey

Subject: RE: Import XML into Domino

Hi Mike,

I want to convert XML data to lotus notes document.

my email id is merrin_mathew@yahoo.com.Can you please send me the code?

Cheers

Merrin

Subject: RE: Import XML into Domino

Mike,Can you send me the same information.

Thanks,

Stacey

email: stacey.patterson@pbsg.com

Subject: RE: Import XML into Domino

Hi Mike, Can u send me the same inofrmation to my email address

email : trivenigk@gmail.com

Thanks

Subject: RE: Import XML into Domino

Hi Mike,I have an XML file which needs to be imported into the Notes database. Each part of the XML needs to be created as a Lotus Notes document.

Could I please get a sample of your code + xml files? nuelleraldrig1@hotmail.com

Thanks a lot!

//Rebecka

Subject: RE: Import XML into Domino

Mike, that would be great.

Thanks,

Tim

timtm@fuse.net