Can I markup or format XML for display in the web viewer

Christian,
Does MBS have a way where it can display HTML (colors and other markup) that could be called from a script? The script would pass the HTML to MBS or something like that.

I'm getting some text back (a DIFF report) where I'd like to color-code some of the tags in that DIFF text, then display that in an HTML-capable viewer so they're easier for the user to read the various sections.

Thanks in advance,

You could of course write a script or function format.
Either as Styled text to show in a field or as html to load into a web viewer.

You could also use our XML.Format function and the convert to HTML with our Text.TextToHTML function.

1 Like

Thanks. The requirement is for Web Direct so that is now overriding my basic requirement statement.

Appreciate your reply.

Once you have HTML, you can make a data URL with base64 encoding and then load it into a web viewer.

2 Likes

I will try that. Thanks.