001package com.ganteater.ae.util.xml.easyparser; 002 003public class EasyUtils 004{ 005 public static void removeAllAttributes(Node aNode, String aAttrName) 006 { 007 aNode.getAttributes().remove(aAttrName); 008 for(int i=0; i<aNode.size(); i++) removeAllAttributes( aNode.getNode(i), aAttrName); 009 } 010 011 public static void removeTagId(Node theNode) { 012 EasyUtils.removeAllAttributes(theNode, Node.TAG_ID); 013 } 014}