org/opengroupware/pubexport/parsers/OGoPubXHTMLParser.java
/**
   * This method builds the children and associations and then calls the other
   * buildElement method to construct the actual dynamic element.
   * 
   * @param _node
   * @return
   */
This method builds the children and associations and then calls the other
buildElement method to construct the actual dynamic element.

@param _node
@return
This method builds the children and associations and then calls the other buildElement method to construct the actual dynamic element . @param _node @return
@SuppressWarnings("unchecked")
  public WOElement buildElement(final Element _node) {
    if (_node == null)
      return null;
    /* build associations */
    String ns = _node.getNamespaceURI();
    if (ns == null) ns = namespaceForColonName(_node.getTagName());
    final Map associations =
      this.associationsForAttributes(_node.getAttributes(), ns);
    /* build children */
    final List<WOElement> children = 
      _node.hasChildNodes() ? this.buildNodes(_node.getChildNodes()) : null;
    final WOElement childElement;
    if (children == null || children.size() == 0)
      childElement = null;
    else if (children.size() == 1)
      childElement = children.get(0);
    else
      childElement = new WOCompoundElement(children);
    return this.buildElement(_node, associations, childElement);
  }
@ SuppressWarnings ( "unchecked" ) public WOElement buildElement ( final Element _node ) { if ( _node == null ) return null ; /* build associations */ String ns = _node . getNamespaceURI ( ) ; if ( ns == null ) ns = namespaceForColonName ( _node . getTagName ( ) ) ; final Map associations = this . associationsForAttributes ( _node . getAttributes ( ) , ns ) ; /* build children */ final List < WOElement > children = _node . hasChildNodes ( ) ? this . buildNodes ( _node . getChildNodes ( ) ) : null ; final WOElement childElement ; if ( children == null || children . size ( ) == 0 ) childElement = null ; else if ( children . size ( ) == 1 ) childElement = children . get ( 0 ) ; else childElement = new WOCompoundElement ( children ) ; return this . buildElement ( _node , associations , childElement ) ; }
This method builds the children and associations and then calls the other
 buildElement method to construct the actual dynamic element.
This method builds the children and associations and then calls the other buildElement method to construct the actual dynamic element .