@@ -108,7 +108,7 @@ Internal document type declarations have no representation in xast:
108
108
109
109
``` idl
110
110
interface Parent <: UnistParent {
111
- children: [Element | Text | Comment | Doctype | Instruction | Cdata ]
111
+ children: [Cdata | Comment | Doctype | Element | Instruction | Text ]
112
112
}
113
113
```
114
114
@@ -132,7 +132,7 @@ containing a value.
132
132
133
133
``` idl
134
134
interface Root <: Parent {
135
- type: " root"
135
+ type: ' root'
136
136
}
137
137
```
138
138
@@ -150,10 +150,10 @@ a whole document.
150
150
151
151
``` idl
152
152
interface Element <: Parent {
153
- type: " element"
153
+ type: ' element'
154
154
name: string
155
155
attributes: Attributes?
156
- children: [Element | Text | Comment | Instruction | Cdata ]
156
+ children: [Cdata | Comment | Element | Instruction | Text ]
157
157
}
158
158
```
159
159
@@ -229,7 +229,7 @@ reflect XML attribute values exactly as a string.
229
229
230
230
``` idl
231
231
interface Text <: Literal {
232
- type: " text"
232
+ type: ' text'
233
233
}
234
234
```
235
235
@@ -257,7 +257,7 @@ Yields:
257
257
258
258
``` idl
259
259
interface Comment <: Literal {
260
- type: " comment"
260
+ type: ' comment'
261
261
}
262
262
```
263
263
@@ -280,7 +280,7 @@ Yields:
280
280
281
281
``` idl
282
282
interface Doctype <: Node {
283
- type: " doctype"
283
+ type: ' doctype'
284
284
name: string
285
285
public: string?
286
286
system: string?
@@ -321,7 +321,7 @@ Yields:
321
321
322
322
``` idl
323
323
interface Instruction <: Literal {
324
- type: " instruction"
324
+ type: ' instruction'
325
325
name: string
326
326
}
327
327
```
@@ -351,7 +351,7 @@ Yields:
351
351
352
352
``` idl
353
353
interface Cdata <: Literal {
354
- type: " cdata"
354
+ type: ' cdata'
355
355
}
356
356
```
357
357
0 commit comments