Learn how to convert string XML fragment to document node in Java
Also find me here:
Baeldung Author
Bahaa El-Din Helmy
I am Bahaa El-Din Helmy, received a B.S. degree in Computer Science in 2018. Had a master’s degree in Computer Science in 2021. I teach some courses in the Computer Science Department and advise students during the courses. His research interests include Meta-heuristic optimization algorithms, Image processing, Image Segmentation, and Machine Learning.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Map (2)
- Java List (2)
- Core Java (2)
- XML (1)
- Testing (1)
- REST (1)
- Java Web (1)
- Java String (1)
- Java IO (1)
- Java Array (1)
- Jackson (1)
- JSON (1)
Using findValue() to Get the Value for a Nested Key in Jackson
Filed under Jackson
If we want to extract a value from deep inside a JSON document then Jackson provides us a couple of convenient ways to do so. We look at findValue() and an alternative with JSON Pointer.
Java Enums With All HTTP Status Codes
Learn about how to use an enum to represent the possible HTTP status codes.
Passing List as Cucumber Parameter
Learn essential techniques for using Cucumber parameters in Java testing.
Difference Between Boolean.TRUE and true in Java
Filed under Core Java
Explore the differences between Boolean.TRUE and true in Java to properly use these representations of true boolean values.
Converting Object To Map in Java
Filed under Java Map
Explore various approaches such as reflection, Jackson, and Gson to convert Java Objects into Java Maps.
Convert Hashmap to JSON Object in Java
Learn how to convert a Map to JSON in Java.
Array vs. List Performance in Java
Filed under Java Array, Java List
Explore the performance of arrays and lists in Java.
Classpath vs. Modulepath in Java
Filed under Core Java
Explore the distinction between the modulepath and classpath in Java.
Baeldung on Computer Science
- All
- Networking (8)
- Latex (4)
- Security (3)
- Programming (3)
- Machine Learning (3)
- Computer Vision (3)
- Software Architecture (2)
- OS (2)
- Web (1)
- Math and Logic (1)
- Concurrency (1)
- Algorithms (1)
The C Parameter in Support Vector Machines
Filed under Machine Learning
Learn about the importance of the C parameter in SVM.
An Introduction to Search Engine Optimization
Filed under Web
Explore the definition of SEO, its importance, key components, and best practices.
IPV6: Stateful vs. Stateless
Filed under Networking
Explore the differences between the stateful and stateless addressing modes in IPv6.
Security: What Does It Mean to “Burn a Zero-Day”?
Filed under Security
Explore the term “burn a zero-day” and its implications in the realm of cybersecurity.
Introduction to Macros in Latex
Filed under Latex
Learn how to work with macros in LaTeX.
Oligomorphic vs. Polymorphic vs. Metamorphic Viruses
Filed under Security
Explore various types of viruses in detail, learn about their differences, and investigate how to detect and prevent them.
Virtual Memory: Second Chance Replacement
Filed under OS
Explore a second chance replacement as an efficient and versatile page replacement algorithm that effectively manages memory resources in various scenarios.
Microservices vs. Monolithic Architectures
Filed under Software Architecture
Explore microservices and monolithic software architecture.
The Ostrich Algorithm
Filed under Concurrency
Explore the Ostrich algorithm, how it works, and its advantages and disadvantages for deadlock prevention.