cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guife...@teleco.upv.es
Subject DOM
Date Wed, 26 Jan 2000 14:59:13 GMT
Hi friends!

I am using Cocoon 1.5,Apache Web Server 1.3.9 and Jserver 1.1b3 and
openxml 1.0.6.

I am trying to take a child from one Document and put it in another
Document. Something like:

      NodeList fila = doc.getElementsByTagName( "NAME" );
      Node rep=fila.item(0).getFirstChild();
      NodeList col = doc1.getElementsByTagName( "BIRTHDAY" );
      col.item(0).appendChild(rep);   

But i can not  get any results. Is my code correct ? or maybe Is posible
to do it in this way?

Mime
View raw message