- From: Ramakrishna Reddy Kandula <ramky@desktop.com>
- Date: Sat, 25 Sep 1999 16:10:01 -0400 (EDT)
- To: www-dom@w3.org
Is there a compact way to create a DOM subtree from a string containing marked-up text ? I am looking for a call similar to IE's insertAdjacentHTML. I think it is very useful and practical to have such a call in DOM 2. I know that we can achieve the same thing with a bunch of createElement, createAttribute, createTextNode and appendChilds. But it is very practical to be able to append a string containing markup. User agents can be easily optimized to create this subtree much faster than by doing individual calls to create the whole subtree. What do you think ? -- ramky
Received on Monday, 27 September 1999 05:20:51 UTC