-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxml-element-example.json
More file actions
51 lines (51 loc) · 1.02 KB
/
xml-element-example.json
File metadata and controls
51 lines (51 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "book",
"namespaceURI": "http://example.com/catalog",
"prefix": "",
"qualifiedName": "book",
"attributes": [
{
"name": "id",
"value": "B-001"
},
{
"name": "lang",
"namespaceURI": "http://www.w3.org/XML/1998/namespace",
"prefix": "xml",
"value": "en"
}
],
"children": [
{
"nodeType": "element",
"value": {
"name": "title",
"qualifiedName": "title",
"text": "XML in a Nutshell"
}
},
{
"nodeType": "element",
"value": {
"name": "creator",
"qualifiedName": "dc:creator",
"prefix": "dc",
"namespaceURI": "http://purl.org/dc/elements/1.1/",
"text": "Elliotte Rusty Harold"
}
},
{
"nodeType": "element",
"value": {
"name": "price",
"qualifiedName": "price",
"attributes": [
{ "name": "currency", "value": "USD" }
],
"text": "39.95"
}
}
],
"selfClosing": false,
"xmlLang": "en"
}