private void showXMLElement(Element e, String indent) {
    """
	A convienience function used for displaying information in _Debug mode.
	Prints an XML element's name, content (if any) and Attributes to
	System.out
    """


        System.out.print(parseLevel + indent + "Element: " + e.getName() + "  ");
        String text = e.getTextNormalize();
        if (!text.equals(""))
            System.out.print(" = " + text + "   ");

        //System.out.println("");


      for (Attribute att : e.getAttributes()) {
        //System.out.print(parseLevel + indent + "    ");
        System.out.print(att.getName() + ": " + att.getValue() + "  ");
      }
        System.out.println("");

      for (Element kid : e.getChildren()) {
        showXMLElement(kid, indent + "    ");
      }


    }
private void showXMLElement(Element e, String indent) {


        System.out.print(parseLevel + indent + "Element: " + e.getName() + "  ");
        String text = e.getTextNormalize();
        if (!text.equals(""))
            System.out.print(" = " + text + "   ");

        //System.out.println("");


      for (Attribute att : e.getAttributes()) {
        //System.out.print(parseLevel + indent + "    ");
        System.out.print(att.getName() + ": " + att.getValue() + "  ");
      }
        System.out.println("");

      for (Element kid : e.getChildren()) {
        showXMLElement(kid, indent + "    ");
      }


    }
private void showXMLElement ( Element e , String indent ) { System . out . print ( parseLevel + indent + "Element: " + e . getName ( ) + "  " ) ; String text = e . getTextNormalize ( ) ; if ( ! text . equals ( "" ) ) System . out . print ( " = " + text + "   " ) ; //System.out.println("");
 for ( Attribute att : e . getAttributes ( ) ) { //System.out.print(parseLevel + indent + "    ");
 System . out . print ( att . getName ( ) + ": " + att . getValue ( ) + "  " ) ; } System . out . println ( "" ) ; for ( Element kid : e . getChildren ( ) ) { showXMLElement ( kid , indent + "    " ) ; } }
A convienience function used for displaying information in _Debug mode.
Prints an XML element's name, content (if any) and Attributes to
System.out
A convienience function used for displaying information in _Debug mode . Prints an XML element s name content ( if any ) and Attributes to System . out