Pretty print XML

Category: Widgets
Subcategory: Display widgets

Overview

Do you want to see quickly the result of an xml string without having to copy paste it into other tools? This widget expects a xml string and returns it pretty printed, so that the user/testers/developers can read it easly, without exposing data outside your application! You can configure the colors, indentation and more, all by your self throughout this widget! Demo: https://prettyprint100-sandbox.mxapps.io/index.html?profile=Responsive

Documentation

Demo url
Description
  • Do you want to see quickly the result of an xml string without having to copy paste it into other tools? This widget expects a xml string and returns it pretty printed, so that the user/testers/developers can read it easly, without exposing data outside your application! You can configure the colors, indentation and more, all by your self throughout this widget!
Typical usage scenario
  • If your application sends xml messages to other systems and you want to check out if the xml message is been sent with the correct data. Then you can view your xml within your app, but then pretty printed, so that you can read it easly.
Features 
  • pretty print xml string
  • Option to configure a custom label
  • Configure the colors for the attributes, seperators and more (check out the screenshots)
  • Configure the amount of indentation
  • Configure the, translatable, invalid-xml or empty message 
  • Boolean option to collapsible/expand tags by click on them. (check out the demo and screenshots)
Limitations
  • Only for xml string.
Dependencies
  • None
Installation Configuration
  • Just put the widget into your dataview/listview, where you can pass the xml string attribute into the widget! 

Releases

Version: 1.0.0
Framework Version: 8.6.9
Release Notes: Initial version