<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><pre class="">    Thanks to Andreas Plesch.  Holger, could you add something like this to the Cobweb page to document how to build xml on the fly and submit it to Cobweb for viewing?  Thanks, John</pre><pre class="">For an frame outside an iframe, xml being an array of strings.</pre><pre class="">       var content = xml.join("");</pre><pre class="">    var cobwebWindow = document.getElementById("cobwebframe").contentWindow ;
    var cobwebEle = cobwebWindow.document.getElementById("x3dele");
    if (typeof cobwebWindow.X3D !== 'undefined') {
            var browser = cobwebWindow.X3D.getBrowser(cobwebEle);
            browser.replaceWorld(browser.createX3DFromString(content));
            // etc.
    }
</pre><pre class=""><br class=""></pre><pre class="">and something else for loading inside the same document (which I can get from Andreas, I think).</pre><pre class=""><br class=""></pre><pre class="">John</pre>
            <p class=""></p></body></html>