I have a test harness that needs to display the actual XML data returned from a messaging system. Currently the result gets displayed in a <textarea>, but any XML entities such as & get displayed by the browser as the translated value &
As I am trying to display the 'real' XML returned by the application, this is a bit of a problem. I don't really want to modify the data prior to display in case this introduces artefacts, is there a way to prevent entity substitution in the same way as <pre> does for formatting?
Steve
[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object:
erlDesignPatterns)[/small]
As I am trying to display the 'real' XML returned by the application, this is a bit of a problem. I don't really want to modify the data prior to display in case this introduces artefacts, is there a way to prevent entity substitution in the same way as <pre> does for formatting?
Steve
[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object: