• var elem1 = xml.createElement("elem1"); var elem2 = xml.createElement("elem2"); // Now lets insert these two Element nodes into // the DocumentFragment.
  • Chapter 6: Using the DOM in Different
  • // Note that this function responds to the




    Download 2,96 Mb.
    Pdf ko'rish
    bet123/131
    Sana14.05.2024
    Hajmi2,96 Mb.
    #232039
    1   ...   119   120   121   122   123   124   125   126   ...   131
    Bog'liq
    Ceponkus, Hoodbhoy - Applied XML - Toolkit for Programmers
    1. Работа с современными учебными техническими средствами по информационным технологиям1, Quchqorov Bahromning F.O`.M fanidan Slayd, 65dfb5a88b75b5da48b5a403fa4d41c2, CqAmAyPw4fTCALP4WYshpYdZitzfIdVeTpeXQRhQ, Toza qayta tiklanadigan energiyaga global talabning tobora ortib borayotgani bizning sayyoramizdagi kelajagimiz uchun katta iqtisodiy va ijtimoiy ta, 1, 1, 853777, O.S.Axmedov Python dasturlash tili fanidan yakuniy nazorat 30ta bilet [3 0], Fortuna akumliyatori, Презентация2, 1. Gravirazvedka — lotin, DMM6500-FRP-v1 7 12 Apr 2022 RNs DMM6500-FRP-V1.7.12, Microsoft Word Document, 1- 2Электромагнит нурланишларнинг муҳитлар билан таъсирлашуви фанининг предмети
    // Note that this function responds to the 
    onload
     event on the 
    // tag.
    function start() {
    // First create a DocumentFragment node.
    var myDocFrag = xml.createDocumentFragment();
    // Let's also create two elements.
    var elem1 = xml.createElement("elem1");
    var elem2 = xml.createElement("elem2");
    // Now let's insert these two Element nodes into 
    // the DocumentFragment.
    myDocFrag.insertBefore(elem1, null);
    myDocFrag.insertBefore(elem2, null);
    // Now that we have finished collecting nodes
    // let's insert them under the 
    rootElement
     Element.
    xml.documentElement.insertBefore(myDocFrag, null);
    // Now let's view the resulting XML document.
    alert(xml.xml);
    }



    ...




    Download 2,96 Mb.
    Pdf ko'rish

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    // Note that this function responds to the

    Download 2,96 Mb.
    Pdf ko'rish