On Jul 28, 2006, at 12:59 PM, Ken Jordan wrote:
Kevin Windham wrote:
I have a class that outputs my prefs file as basic xml using the
xmldocument class. The output is kind of hard to read though
since there are no returns anywhere. Is there a function or
process I can use in RB to pretty print the xml without doing it
by hand with my own code?
Thanks,
Kevin
Look here...
http://support.realsoftware.com/listarchives/realbasic-nug/2006-05/
msg00633.html
Ken
That looks like what I needed, but when i try to .Transform I get an
XmlException. The really frustrating part is that I can't seem to
catch the exception. Without break on exceptions turned on in the
IDE, my program just quits with no errors. When I put in an exception
block or a try catch block my program just quits. The only way I can
tell there is an exception is from the break on exceptions and the
highlighting of the offending line. I can't get at the error number
or error message so I have no idea how to fix it.
I am going to have to use one of the other solutions I suppose.
Kevin
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>