How do i import a XML into a NotesDocument?

Hello

i’m a junior on development and have following job:

Soon i’ll have a XML-File ( for example on C:\diskspace.xml) looking something like this:

<OS>LINUX</OS>

<DISKFREE>250</DISKFREE>

<DISKTOTAL>500</DISKTOTAL>
<OS>Windows</OS>

<CFREE>250</CFREE>

<CTOTAL>500</CTOTAL>

Now i’ve to Import the Servername and the Disk Volumes into several Fields in a Notes Document.

Thing is i’ve no clue what Methods to use, i know theres NotesXMLProcess / NotesStream but can’t find a good example how to read the xml and write the code into a Notes Document.

anyone got me a hint or two?

thanks!

kind regards

Tibor

Subject: Start with this example

The online help for the NodeType property has a fully working example in LotusScript of how to walk the DOM tree of any well-formed XML , and get the names and values of the nodes and attributes (http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/f4b82fbb75e942a6852566ac0037f284/1c4c7a0d8845777d8525704a0040c4c8?OpenDocument). All you have to do is check the names of the nodes as you find them and respond accordingly e.g. creating fields and assigning values.