Remove <attachmentref>tag from DXLExporter xml-string

Hi,

i have a xml-string from a document via DXLExporter and want to remove all <attachmentref…>, tags and all content between these tags.

I´ve read, this is posible via NotesSAXParser?! Is this correct?

In this case, the input for NotesSAXParser is the xml-string and the output should be the changed/modified xml-string?!

How can i remove these tags and all content between this tags from this xml-string?

Thanks Rico.

Subject: RE: remove tag from DXLExporter xml-string

I wouldn’t use SAX for that. You could, in fact, just do a string-search, but if you feel like using an XML parser I would use DOM.

Version 8 has a OmitRichtextAttachments property to have these not generated in the first place.