Sub Initialize Dim s As New NotesSession Dim db As NotesDatabase Dim doc As NotesDocument Dim view As NotesView Dim entry As NotesViewEntry Dim nav As NotesViewNavigator Set db = s.currentDatabase Set view = db.GetView( "(XML)" ) Set nav = view.CreateViewNav() Set entry = nav.GetFirst Print "Content-type: text/xml" Print |<?xml version="1.0" encoding="utf-8"?>| Print "<Fundsache>" Print "<Gegenstand>"+entry.ColumnValues(0)+"</Gegenstand>" Print "</Fundsache>" End Sub