XML and notes field

I should export data outside a notes database in XML.

I should write a lotus script agent. I don’t want to hard type the XML aliases of the notesfield in the code. So I’m wondering if it wouldn’t be a cool way to create a notes database which will be my XML dictionnary ???

Has someone already done that ? is this approach “smart” enough ?

Subject: XML and notes field

Hi,

If I’ve understood your post correctly, you want to get the value of a field and enclose it within the relevant XML tag, but not hardcode this tag in your agent. Have a look at XLST (XML Stylesheets) and use the notesXMLTransformer LotusScript object and you will be able to do this using a generic “utility” agent for all exports. There are some tutorials and examples for XML and stylesheets elsewhere within what used to be Lotus Today. I keep losing track of it all!! When you read up on XLST you’ll see it can be used to “translate” XML from one set of tags to another, so this can be done using the DominoXML tags and attributes for notes items. The only problem with all the examples is that they tend to concentrate on the other usage for XLST to translate XML into HTML.

HTH

Subject: RE: XML and notes field

Thank You !