$$SearchTemplate search results as XML - is this possible?

Hi folks,

I read a frustrated post about this in the old notes forum, and I was wondering if anybody has solved this particular catch-22 in Notes 6…

I’d like to format the output of the standard view search as XML. I thought I could do that by treating the contents of my $$SearchTemplate form as HTML and embedding the standard XML type of view (each view entry is an XML node).

However, when you do the search, you get the error “Documents treated as HTML cannot be edited” - seems domino treats this as a form in edit mode, which I guess it is if you consider it as a back-end process.

On the other hand, if I switch the form content type property back to Notes, Domino whacks a few extra tags onto the output, which ruins any ambitions of having a well formed xml document.

I could write an agent to do the searching and present a custom search results form to the user, but I’d much rather use the (until now) perfectly good options provided by Domino.

Can anybody get XML out of the standard domino search, or does anybody have a better option for me?

-Brendan

Subject: Ever find a workaround?

Funny… when I first read the author, I thought… hmm… did I write this? I guess you are just a year and a half ahead of me!

At any rate, did you find a workaround for this? As you said, there is always writing an agent, but I would like to avoid that.

Thanks,

Brendan

Subject: Unfortunately, no.

Sorry Brendan, never did find a way to get that working.

I think I’ve actually gone backwards since then, so you’re probably in front of me now. :slight_smile: