文書が開く前に、イベントハンドラを有効にします。
<xp:dominoDocument><xp:this.queryOpenDocument attributes>content</xp:queryOpenDocument></xp:dominoDocument>