public final class DomUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static DOMImplementationLS | getDomImplementationLS()Gets a dom level 3 implementation. | 
| static void | removeDuplicateAttributes(Node aNode)Removes duplicate attributes from a DOM tree.This is useful for
 postprocessing the output of JTidy as a workaround for a bug in JTidy. | 
public static DOMImplementationLS getDomImplementationLS()
ClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionpublic static void removeDuplicateAttributes(Node aNode)
aNode - Node to remove duplicate attributes from (recursively).
            Attributes of the node itself are not dealt with. Only the
            child nodes are dealt with.Copyright © 2025. All rights reserved.