Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for innerxml (0.11 sec)

  1. src/encoding/xml/read_test.go

    	Rel  string `xml:"rel,attr,omitempty"`
    	Href string `xml:"href,attr"`
    }
    
    type Person struct {
    	Name     string `xml:"name"`
    	URI      string `xml:"uri"`
    	Email    string `xml:"email"`
    	InnerXML string `xml:",innerxml"`
    }
    
    type Text struct {
    	Type string `xml:"type,attr,omitempty"`
    	Body string `xml:",chardata"`
    }
    
    var atomFeed = Feed{
    	XMLName: Name{"http://www.w3.org/2005/Atom", "feed"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. misc/ios/go_ios_exec.go

    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		os.Stderr.Write(out)
    		return fmt.Errorf("ideviceimagemounter: %v", err)
    	}
    	var info struct {
    		Dict struct {
    			Data []byte `xml:",innerxml"`
    		} `xml:"dict"`
    	}
    	if err := xml.Unmarshal(out, &info); err != nil {
    		return fmt.Errorf("mountDevImage: failed to decode mount information: %v", err)
    	}
    	dict, err := parsePlistDict(info.Dict.Data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  3. src/encoding/xml/read.go

    // In the rules, the tag of a field refers to the value associated with the
    // key 'xml' in the struct field's tag (see the example above).
    //
    //   - If the struct has a field of type []byte or string with tag
    //     ",innerxml", Unmarshal accumulates the raw XML nested inside the
    //     element in that field. The rest of the rules still apply.
    //
    //   - If the struct has a field named XMLName of type Name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  4. src/encoding/xml/marshal.go

    //     not as an XML element.
    //   - a field with tag ",cdata" is written as character data
    //     wrapped in one or more <![CDATA[ ... ]]> tags, not as an XML element.
    //   - a field with tag ",innerxml" is written verbatim, not subject
    //     to the usual marshaling procedure.
    //   - a field with tag ",comment" is written as an XML comment, not
    //     subject to the usual marshaling procedure. It must not contain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/syscall/js/js_test.go

    		div.Call("setAttribute", "id", "myDiv")
    		document.Get("body").Call("appendChild", div)
    		myDiv := document.Call("getElementById", "myDiv")
    		myDiv.Set("innerHTML", data)
    
    		if got, want := myDiv.Get("innerHTML").String(), data; got != want {
    			b.Errorf("got %s, want %s", got, want)
    		}
    		document.Get("body").Call("removeChild", div)
    	}
    }
    
    func TestGlobal(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    Worker(c.filename);s.onmessage=function(t){r.highlightedCode=t.data,c.hooks.run('before-insert',r),r.element.innerHTML=r.highlightedCode,h&&h.call(r.element),c.hooks.run('after-highlight',r),c.hooks.run('complete',r)},s.postMessage(JSON.stringify({language:r.language,code:r.code,immediateClose:!0}))}else r.highlightedCode=c.highlight(r.code,r.grammar,r.language),c.hooks.run('before-insert',r),r.element.innerHTML=r.highlightedCode,h&&h.call(f),c.hooks.run('after-highlight',r),c.hooks.run('complete',r)},highl...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/html.go

        if (es.length===0)
            return;
        var e = es[0];
        if (e.style.display === 'block' || e.style.display === '') {
            e.style.display = 'none';
            el.innerHTML = '+';
        } else {
            e.style.display = 'block';
            el.innerHTML = '-';
        }
    }
    
    // TODO: scale the graph with the viewBox attribute.
    function graphReduce(id) {
        var node = document.getElementById(id);
        if (node) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  8. src/html/template/escape.go

    	delimDoubleQuote: `"`,
    	delimSingleQuote: "'",
    	// Determined empirically by running the below in various browsers.
    	// var div = document.createElement("DIV");
    	// for (var i = 0; i < 0x10000; ++i) {
    	//   div.innerHTML = "<span title=x" + String.fromCharCode(i) + "-bar>";
    	//   if (div.getElementsByTagName("SPAN")[0].title.indexOf("bar") < 0)
    	//     document.write("<p>U+" + i.toString(16));
    	// }
    	delimSpaceOrTagEnd: " \t\n\f\r>",
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
Back to top