Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Escape XML Content and Attribute in Java using Google Guava
Escape XML Content and Attribute in Java using Google Guava

Learn how to escape a XML content string or XML attribute value using the XmlEscapers class of Google Guava library.

Pretty Print XML String and XML File in Java using jsoup
Pretty Print XML String and XML File in Java using jsoup

In this tutorial, we are going to show how to use the jsoup library in a Java program to pretty sprint a XML String or XML file content. We provide different working Java programs to show different use cases on how to parse XML String or XML File into jsoup Document object in order to format the XML content for pretty printing.

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.