Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /usr/share/doc/libxml2-devel-2.9.1/examples/ |
<doc> <parent> <discarded> <discarded/> </discarded> <preserved/> This text node must be discarded <discarded> <discarded/> </discarded> <preserved> content1 <child1></child1> <child2>content2</child2> <preserved>too</preserved> <child2>content3</child2> <preserved></preserved> <child2>content4</child2> <preserved/> <child2>content5</child2> content6 </preserved> This text node must be discarded <discarded> <discarded/> </discarded> This text node must be discarded <preserved></preserved> This text node must be discarded <preserved/> This text node must be discarded <discarded> <discarded/> </discarded> This text node must be discarded </parent> </doc>