public String toString(){
        StringBuffer sb = new StringBuffer();
        sb.append("<");
        sb.append(tag);
        if(cssStyle != null && cssStyle.length() > 0){
            sb.append(" style=\"");
            sb.append(cssStyle);
            sb.append("\"");
        }
        sb.append(">");
//        sb.append("\n");

        if(this.childs.size() > 0) {
            for (DomElement child : childs) {
                sb.append(child.toString());
            }
        }else if (this.content != null) {
            sb.append(this.content);
        }

        sb.append("</");
        sb.append(tag);
        sb.append(">");
        return sb.toString();
    }