<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001>Hello!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>1. I would like to
have an easy method for moving mixed content like: element.moveContent ( Element
source ).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>2. Looking through
the source code I noticed source like that:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>if (obj instanceof
String)
(NB: what about Text?? )</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>{
element.content.add (obj); } </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>else if (obj
instanceof Element) </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>{</SPAN></FONT><FONT
face=Arial size=2><SPAN class=289520816-25072001>} </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>else if (obj
instanceof Comment)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>{</SPAN></FONT><FONT
face=Arial size=2><SPAN class=289520816-25072001>} </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>else if (obj
instanceof CDATA)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>{}
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>else if (obj
instanceof ProcessingInstruction) </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>{</SPAN></FONT><FONT
face=Arial size=2><SPAN class=289520816-25072001>} </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>else if (obj
instanceof EntityRef) </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001>{}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>I wonder why there
is no common super class for all possible children of an
Element?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=289520816-25072001>Stefan</DIV>
<DIV><BR></DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=289520816-25072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=1></FONT> </DIV></BODY></HTML>