Hi!
I could log XML as source, but I would like to use
the built in explorer component to view XML with that.
Is it possible ? I have tried to trick it into that with
LogHTML but that didn't do the trick.
Thanks,
Attila
Subscribe to forum
Forum
How to log XML data into webbrowser ?
Page: 1
| Author | Post |
|---|---|
|
Attila
|
#1 Fri Aug 18, 2006 11:02 am
|
| Guest | |
|
#2 Fri Aug 18, 2006 11:47 am
|
|
|
Administrator
Registered: Sep 2007
Posts: 132
|
Hello Attila,
LogHtml and the corresponding Web Viewer in the Console are currently only capable of displaying HTML content. But it's a nice idea to add support for XML and we will consider adding an option to the Web Viewer to switch between various formats. Thanks for the idea! |
|
j.gehlen
|
#3 Thu May 08, 2008 6:51 pm
|
| Guest |
Hi,
any news on this issue? I need the same feature. Regards, Jörg |
|
#4 Fri May 09, 2008 6:21 am
|
|
|
Administrator
Registered: Sep 2007
Posts: 132
|
Hello Jörg,
Thanks for your posting. The recommended way to log XML data with SmartInspect is to use the LogXmlSource method family. The LogHtml method (and the corresponding web viewer) is not capable of displaying XML data. The web viewer uses the Internet Explorer control to display the html data and if I recall correctly, there were a few problems which prevented us from adding this option. I reopened the case in our feature request tracker and we will look into it again. |
|
j.gehlen
|
#5 Fri May 09, 2008 9:27 am
|
| Guest |
Hi,
Did I miss something? Currently I use: LogSource('XML',XMLString,siXml);. Although the SourceViewer does some nice highlighting, what I really miss is the pretty-printing. So a possibility to open the XML-String in the Internet Explorer (as an external application) would be OK for me (as a workaround). Regards, Jörg |
|
#6 Fri May 09, 2008 2:19 pm
|
|
|
Administrator
Registered: Sep 2007
Posts: 132
|
Hello Jörg,
Oops, sorry, I meant LogSource with the siXml parameter. Thanks for the idea with the external application. I think this would be a great addition (maybe also for the other viewers). We will see what we can do in this regard. |
Page: 1