public void startElement(){
  nss.pushContext();
  inCollectingMode=true;
}

public void startElement ( ) { nss . pushContext ( ) ; inCollectingMode = true ; }
sets the current bindings aside and starts a new element context . this method should be called at the beginning of the startelement method of the serializer implementation .
