- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for innerxml (0.09 sec)
-
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) -
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) -
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)