Problem solve Get help with specific problems with your technologies, process and projects.

Formatting Xml In Script Agent

You can easily create and use XML from within a form or page, you just click
the Form/Page Option, "Treat contents as HTML", so that Domino won't create the
HTML Header tags automatically.

But, creating a LotusScript agent that Prints XML to the browser, by default,
will have the &LTHTML> and &LTHEADER> tags. Then, your browser won't interpret
your Print statements as XML.

To prevent Domino from creating those HTML tags, use this line as your first
Print output to the browser: Print "Content-type: text/xml"
Print "Content-type: text/xml"

Dig Deeper on Domino Resources - Part 6

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...