Scott Yeadon wrote: > Per, > > Thanks. That worked fine, only additional thing was to cast p to Element > for using the setContent method. > Hmm, yes. The Parent interface is a strange fish. You can get and remove content, but you cannot add. Just watch out for Parent being the Document ... /pmn > Scott. >