This file is indexed.

/usr/share/doc/augeas-doc/lenses/files/tests/test_xml-aug.html is in augeas-doc 1.2.0-0.2+deb8u2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Test_Xml - Augeas Documentation</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.51 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CAugeasModule"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Test_Xml"></a>Test_Xml</h1><div class=CBody><p>Provides unit tests and examples for the &lt;Xml&gt; lens.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Test_Xml" >Test_Xml</a></td><td class=SDescription>Provides unit tests and examples for the &lt;Xml&gt; lens.</td></tr><tr class="SAugeasLens SIndent1 SMarked"><td class=SEntry><a href="#Test_Xml.knode" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">knode</a></td><td class=SDescription>A simple flag function</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Xml.Utilities_lens" >Utilities lens</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Xml.Comments" >Comments</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.comment" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">Xml.<wbr>comment</a></td><td class=SDescription>Comments get mapped into &ldquo;#comment&rdquo; nodes.</td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.comment" id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">Xml.<wbr>comment</a></td><td class=SDescription>This syntax is not understood.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Xml.Prolog_and_declarations" >Prolog and declarations</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.prolog" id=link4 onMouseOver="ShowTip(event, 'tt3', 'link4')" onMouseOut="HideTip('tt3')">Xml.<wbr>prolog</a></td><td class=SDescription>The XML prolog tag is mapped in a &ldquo;#declaration&rdquo; node, which contains an &ldquo;#attribute&rdquo; node with various attributes of the tag.</td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.decl_def_item" id=link5 onMouseOver="ShowTip(event, 'tt4', 'link5')" onMouseOut="HideTip('tt4')">Xml.<wbr>decl_def_item</a></td><td class=SDescription>!ELEMENT declaration tags are mapped in &ldquo;!ELEMENT&rdquo; nodes. </td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.decl_def_item" id=link6 onMouseOver="ShowTip(event, 'tt4', 'link6')" onMouseOut="HideTip('tt4')">Xml.<wbr>decl_def_item</a></td><td class=SDescription>!ENTITY declaration tags are mapped in &ldquo;!ENTITY&rdquo; nodes. </td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.doctype" id=link7 onMouseOver="ShowTip(event, 'tt5', 'link7')" onMouseOut="HideTip('tt5')">Xml.<wbr>doctype</a></td><td class=SDescription>!DOCTYPE tags are mapped in &ldquo;!DOCTYPE&rdquo; nodes. </td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.doctype" id=link8 onMouseOver="ShowTip(event, 'tt5', 'link8')" onMouseOut="HideTip('tt5')">Xml.<wbr>doctype</a></td><td class=SDescription>This is an example of a !DOCTYPE tag with !ELEMENT children tags.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Xml.Attributes" >Attributes</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.att_def1" id=link9 onMouseOver="ShowTip(event, 'tt6', 'link9')" onMouseOut="HideTip('tt6')">att_def1</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#Test_Xml.att_def2" id=link10 onMouseOver="ShowTip(event, 'tt7', 'link10')" onMouseOut="HideTip('tt7')">att_def2</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.att_def3" id=link11 onMouseOver="ShowTip(event, 'tt8', 'link11')" onMouseOut="HideTip('tt8')">att_def3</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.att_list_def" id=link12 onMouseOver="ShowTip(event, 'tt9', 'link12')" onMouseOut="HideTip('tt9')">Xml.<wbr>att_list_def</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.att_list_def" id=link13 onMouseOver="ShowTip(event, 'tt9', 'link13')" onMouseOut="HideTip('tt9')">Xml.<wbr>att_list_def</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.att_list_def" id=link14 onMouseOver="ShowTip(event, 'tt9', 'link14')" onMouseOut="HideTip('tt9')">Xml.<wbr>att_list_def</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.notation_def" id=link15 onMouseOver="ShowTip(event, 'tt10', 'link15')" onMouseOut="HideTip('tt10')">Xml.<wbr>notation_def</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#Test_Xml.cdata1" id=link16 onMouseOver="ShowTip(event, 'tt11', 'link16')" onMouseOut="HideTip('tt11')">cdata1</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.cdata" id=link17 onMouseOver="ShowTip(event, 'tt12', 'link17')" onMouseOut="HideTip('tt12')">Xml.<wbr>cdata</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#Test_Xml.attr1" id=link18 onMouseOver="ShowTip(event, 'tt13', 'link18')" onMouseOut="HideTip('tt13')">attr1</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.attr2" id=link19 onMouseOver="ShowTip(event, 'tt14', 'link19')" onMouseOut="HideTip('tt14')">attr2</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.attributes" id=link20 onMouseOver="ShowTip(event, 'tt15', 'link20')" onMouseOut="HideTip('tt15')">Xml.<wbr>attributes</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.attributes" id=link21 onMouseOver="ShowTip(event, 'tt15', 'link21')" onMouseOut="HideTip('tt15')">Xml.<wbr>attributes</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.attributes" id=link22 onMouseOver="ShowTip(event, 'tt15', 'link22')" onMouseOut="HideTip('tt15')">Xml.<wbr>attributes</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Xml.empty" >empty</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.empty1" id=link23 onMouseOver="ShowTip(event, 'tt16', 'link23')" onMouseOut="HideTip('tt16')">empty1</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#Test_Xml.empty2" id=link24 onMouseOver="ShowTip(event, 'tt17', 'link24')" onMouseOut="HideTip('tt17')">empty2</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.empty3" id=link25 onMouseOver="ShowTip(event, 'tt18', 'link25')" onMouseOut="HideTip('tt18')">empty3</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#Test_Xml.empty4" id=link26 onMouseOver="ShowTip(event, 'tt19', 'link26')" onMouseOut="HideTip('tt19')">empty4</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.empty_element" id=link27 onMouseOver="ShowTip(event, 'tt20', 'link27')" onMouseOut="HideTip('tt20')">Xml.<wbr>empty_element</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.empty_element" id=link28 onMouseOver="ShowTip(event, 'tt20', 'link28')" onMouseOut="HideTip('tt20')">Xml.<wbr>empty_element</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.empty_element" id=link29 onMouseOver="ShowTip(event, 'tt20', 'link29')" onMouseOut="HideTip('tt20')">Xml.<wbr>empty_element</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.empty_element" id=link30 onMouseOver="ShowTip(event, 'tt20', 'link30')" onMouseOut="HideTip('tt20')">Xml.<wbr>empty_element</a></td><td class=SDescription>The attribute node must be the first child of the element</td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.content" id=link31 onMouseOver="ShowTip(event, 'tt21', 'link31')" onMouseOut="HideTip('tt21')">Xml.<wbr>content</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Xml.Full_lens" >Full lens</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.lns" id=link32 onMouseOver="ShowTip(event, 'tt22', 'link32')" onMouseOut="HideTip('tt22')">Xml.lns</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.lns" id=link33 onMouseOver="ShowTip(event, 'tt22', 'link33')" onMouseOut="HideTip('tt22')">Xml.lns</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.lns" id=link34 onMouseOver="ShowTip(event, 'tt22', 'link34')" onMouseOut="HideTip('tt22')">Xml.lns</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#Test_Xml.input1" id=link35 onMouseOver="ShowTip(event, 'tt23', 'link35')" onMouseOut="HideTip('tt23')">input1</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.Xml.doc" id=link36 onMouseOver="ShowTip(event, 'tt24', 'link36')" onMouseOut="HideTip('tt24')">Xml.doc</a></td><td class=SDescription>Test <a href="#Test_Xml.input1" class=LAugeasVariable id=link37 onMouseOver="ShowTip(event, 'tt23', 'link37')" onMouseOut="HideTip('tt23')">input1</a> with <a href="#Test_Xml.Xml.doc" class=LAugeasTest id=link38 onMouseOver="ShowTip(event, 'tt24', 'link38')" onMouseOut="HideTip('tt24')">Xml.doc</a></td></tr><tr class="SAugeasTest SIndent2"><td class=SEntry><a href="#Test_Xml.Xml.doc" id=link39 onMouseOver="ShowTip(event, 'tt24', 'link39')" onMouseOut="HideTip('tt24')">Xml.doc</a></td><td class=SDescription>Modify <a href="#Test_Xml.input1" class=LAugeasVariable id=link40 onMouseOver="ShowTip(event, 'tt23', 'link40')" onMouseOut="HideTip('tt23')">input1</a> with <a href="#Test_Xml.Xml.doc" class=LAugeasTest id=link41 onMouseOver="ShowTip(event, 'tt24', 'link41')" onMouseOut="HideTip('tt24')">Xml.doc</a></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Xml.ul1" id=link42 onMouseOver="ShowTip(event, 'tt25', 'link42')" onMouseOut="HideTip('tt25')">ul1</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.knode"></a>knode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let knode (r:regexp) = [ key r ]
</td></tr></table></blockquote><p>A simple flag function</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>r:regexp</td><td class=CDLDescription>the pattern for the flag</td></tr></table></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Utilities_lens"></a>Utilities lens</h3></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Comments"></a>Comments</h3></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.comment"></a>Xml.<wbr>comment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.comment get
 &quot;&lt;!-- declarations for &lt;head&gt; &amp; &lt;body&gt; --&gt;&quot; =

  { &quot;#comment&quot; = &quot; declarations for &lt;head&gt; &amp; &lt;body&gt; &quot; }
</td></tr></table></blockquote><p>Comments get mapped into &ldquo;#comment&rdquo; nodes.</p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.comment"></a>Xml.<wbr>comment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.comment get
 &quot;&lt;!-- B+, B, or B---&gt;&quot; = *
</td></tr></table></blockquote><p>This syntax is not understood.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Prolog_and_declarations"></a>Prolog and declarations</h3></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.prolog"></a>Xml.<wbr>prolog</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.prolog get
 &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot;?&gt;&quot; =

  { &quot;#declaration&quot;
    { &quot;#attribute&quot;
      { &quot;version&quot; = &quot;1.0&quot; }
      { &quot;encoding&quot; = &quot;UTF-8&quot; }
    }
  }
</td></tr></table></blockquote><p>The XML prolog tag is mapped in a &ldquo;#declaration&rdquo; node, which contains an &ldquo;#attribute&rdquo; node with various attributes of the tag.</p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.decl_def_item"></a>Xml.<wbr>decl_def_item</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.decl_def_item get
 &quot;&lt;!ELEMENT greeting (#PCDATA)&gt;&quot; =

  { &quot;!ELEMENT&quot; = &quot;greeting&quot;
    { &quot;#decl&quot; = &quot;(#PCDATA)&quot; }
  }
</td></tr></table></blockquote><p>!ELEMENT declaration tags are mapped in &ldquo;!ELEMENT&rdquo; nodes.&nbsp; The associated declaration attribute is mapped in a &ldquo;#decl&rdquo; subnode.</p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.decl_def_item"></a>Xml.<wbr>decl_def_item</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.decl_def_item get
 &quot;&lt;!ENTITY da \&quot;&amp;#xD;&amp;#xA;\&quot;&gt;&quot; =

  { &quot;!ENTITY&quot; = &quot;da&quot;
    { &quot;#decl&quot; = &quot;&amp;#xD;&amp;#xA;&quot; }
  }
</td></tr></table></blockquote><p>!ENTITY declaration tags are mapped in &ldquo;!ENTITY&rdquo; nodes.&nbsp; The associated declaration attribute is mapped in a &ldquo;#decl&rdquo; subnode.</p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.doctype"></a>Xml.<wbr>doctype</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.doctype get
 &quot;&lt;!DOCTYPE greeting SYSTEM \&quot;hello.dtd\&quot;&gt;&quot; =

  { &quot;!DOCTYPE&quot; = &quot;greeting&quot;
    { &quot;SYSTEM&quot; = &quot;hello.dtd&quot; }
  }
</td></tr></table></blockquote><p>!DOCTYPE tags are mapped in &ldquo;!DOCTYPE&rdquo; nodes.&nbsp; The associated system attribute is mapped in a &ldquo;SYSTEM&rdquo; subnode.</p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.doctype"></a>Xml.<wbr>doctype</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.doctype get &quot;&lt;!DOCTYPE foo [
&lt;!ELEMENT bar (#PCDATA)&gt;
&lt;!ELEMENT baz (bar)* &gt;
]&gt;&quot; =

  { &quot;!DOCTYPE&quot; = &quot;foo&quot;
    { &quot;!ELEMENT&quot; = &quot;bar&quot;
      { &quot;#decl&quot; = &quot;(#PCDATA)&quot; }
    }
    { &quot;!ELEMENT&quot; = &quot;baz&quot;
      { &quot;#decl&quot; = &quot;(bar)*&quot; }
    }
  }
</td></tr></table></blockquote><p>This is an example of a !DOCTYPE tag with !ELEMENT children tags.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Attributes"></a>Attributes</h3></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.att_def1"></a>att_def1</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let att_def1 = &quot;&lt;!ATTLIST termdef
id      ID      #REQUIRED
name    CDATA   #IMPLIED&gt;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.att_def2"></a>att_def2</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let att_def2 = &quot;&lt;!ATTLIST list
type    (bullets|ordered|glossary)  \&quot;ordered\&quot;&gt;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.att_def3"></a>att_def3</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let att_def3 = &quot;&lt;!ATTLIST form
method  CDATA   #FIXED \&quot;POST\&quot;&gt;&quot;
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.att_list_def"></a>Xml.<wbr>att_list_def</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.att_list_def get
 att_def1 =

  { &quot;!ATTLIST&quot; = &quot;termdef&quot;
    { &quot;1&quot;
      { &quot;#name&quot; = &quot;id&quot; }
      { &quot;#type&quot; = &quot;ID&quot; }
      { &quot;#REQUIRED&quot; }
    }
    { &quot;2&quot;
      { &quot;#name&quot; = &quot;name&quot; }
      { &quot;#type&quot; = &quot;CDATA&quot; }
      { &quot;#IMPLIED&quot; }
    }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.att_list_def"></a>Xml.<wbr>att_list_def</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.att_list_def get
 att_def2 =

  { &quot;!ATTLIST&quot; = &quot;list&quot;
    { &quot;1&quot;
      { &quot;#name&quot; = &quot;type&quot; }
      { &quot;#type&quot; = &quot;(bullets|ordered|glossary)&quot; }
      { &quot;#FIXED&quot; = &quot;ordered&quot; }
    }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.att_list_def"></a>Xml.<wbr>att_list_def</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.att_list_def get
 att_def3 =

  { &quot;!ATTLIST&quot; = &quot;form&quot;
    { &quot;1&quot;
      { &quot;#name&quot; = &quot;method&quot; }
      { &quot;#type&quot; = &quot;CDATA&quot; }
      { &quot;#FIXED&quot; = &quot;POST&quot; }
    }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.notation_def"></a>Xml.<wbr>notation_def</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.notation_def get
 &quot;&lt;!NOTATION not3 SYSTEM \&quot;\&quot;&gt;&quot; =

  { &quot;!NOTATION&quot; = &quot;not3&quot;
    { &quot;SYSTEM&quot; = &quot;&quot; }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.cdata1"></a>cdata1</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let cdata1 = &quot;&lt;![CDATA[testing]]&gt;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.cdata"></a>Xml.<wbr>cdata</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.cdata get cdata1 = { &quot;#CDATA&quot; = &quot;testing&quot; }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.attr1"></a>attr1</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let attr1 = &quot; attr1=\&quot;value1\&quot; attr2=\&quot;value2\&quot;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.attr2"></a>attr2</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let attr2 = &quot; attr2=\&quot;foo\&quot;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.attributes"></a>Xml.<wbr>attributes</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.attributes get attr1 =
  { &quot;#attribute&quot;
    { &quot;attr1&quot; = &quot;value1&quot; }
    { &quot;attr2&quot; = &quot;value2&quot; }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.attributes"></a>Xml.<wbr>attributes</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.attributes get &quot; refs=\&quot;A1\nA2  A3\&quot;&quot; =
  { &quot;#attribute&quot;
    { &quot;refs&quot; = &quot;A1\nA2  A3&quot; }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.attributes"></a>Xml.<wbr>attributes</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.attributes put attr1 after rm &quot;/#attribute[1]&quot;;
                                    set &quot;/#attribute/attr2&quot; &quot;foo&quot; = attr2
</td></tr></table></blockquote></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.empty"></a>empty</h3></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.empty1"></a>empty1</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty1 = &quot;&lt;a/&gt;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.empty2"></a>empty2</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty2 = &quot;&lt;a foo=\&quot;bar\&quot;/&gt;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.empty3"></a>empty3</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty3 = &quot;&lt;a foo=\&quot;bar\&quot;&gt;&lt;/a&gt;\n&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.empty4"></a>empty4</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty4 = &quot;&lt;a foo=\&quot;bar\&quot; far=\&quot;baz\&quot;/&gt;&quot;</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.empty_element"></a>Xml.<wbr>empty_element</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.empty_element get empty1 = { &quot;a&quot; = &quot;#empty&quot; }</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.empty_element"></a>Xml.<wbr>empty_element</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.empty_element get empty2 =
  { &quot;a&quot; = &quot;#empty&quot; { &quot;#attribute&quot; { &quot;foo&quot; = &quot;bar&quot;} } }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.empty_element"></a>Xml.<wbr>empty_element</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.empty_element put empty1 after set &quot;/a/#attribute/foo&quot; &quot;bar&quot; = empty2
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.empty_element"></a>Xml.<wbr>empty_element</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.empty_element put empty1 after set &quot;/a/#attribute/foo&quot; &quot;bar&quot;;
                                        set &quot;/a/#attribute/far&quot; &quot;baz&quot; = empty4
</td></tr></table></blockquote><p>The attribute node must be the first child of the element</p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.content"></a>Xml.<wbr>content</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.content put &quot;&lt;a&gt;&lt;b/&gt;&lt;/a&gt;&quot; after clear &quot;/a/b&quot; = &quot;&lt;a&gt;&lt;b&gt;&lt;/b&gt;\n&lt;/a&gt;&quot;

</td></tr></table></blockquote></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Full_lens"></a>Full lens</h3></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.lns"></a>Xml.lns</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.lns put &quot;&lt;a&gt;&lt;/a &gt;&quot; after set &quot;/a/#text[1]&quot; &quot;foo&quot;;
                                 set &quot;/a/#text[2]&quot; &quot;bar&quot; = &quot;&lt;a&gt;foobar&lt;/a &gt;&quot;
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.lns"></a>Xml.lns</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.lns get &quot;&lt;?xml version=\&quot;1.0\&quot;?&gt;
&lt;!DOCTYPE catalog PUBLIC \&quot;-//OASIS//DTD XML Catalogs V1.0//EN\&quot;
  \&quot;file:///usr/share/xml/schema/xml-core/catalog.dtd\&quot;&gt;
  &lt;doc/&gt;&quot; =
  { &quot;#declaration&quot;
  { &quot;#attribute&quot;
    { &quot;version&quot; = &quot;1.0&quot; }
  }
  }
  { &quot;!DOCTYPE&quot; = &quot;catalog&quot;
    { &quot;PUBLIC&quot;
      { &quot;#literal&quot; = &quot;-//OASIS//DTD XML Catalogs V1.0//EN&quot; }
      { &quot;#literal&quot; = &quot;file:///usr/share/xml/schema/xml-core/catalog.dtd&quot; }
    }
  }
  { &quot;doc&quot; = &quot;#empty&quot; }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.lns"></a>Xml.lns</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.lns get &quot;&lt;oor:component-data xmlns:oor=\&quot;http://openoffice.org/2001/registry\&quot;/&gt;
&quot; =
  { &quot;oor:component-data&quot; = &quot;#empty&quot;
    { &quot;#attribute&quot;
      { &quot;xmlns:oor&quot; = &quot;http://openoffice.org/2001/registry&quot; }
    }
  }
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.input1"></a>input1</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let input1 = &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot;?&gt;
&lt;html&gt;\r
    &lt;head&gt;
        &lt;title&gt;Wiki&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;Augeas&lt;/h1&gt;
        &lt;p class=\&quot;main\&quot;&gt;Augeas is now able to parse XML files!&lt;/p&gt;
        &lt;ul&gt;
            &lt;li&gt;Translate from XML to a tree syntax&lt;/li&gt;
            &lt;li&gt;Translate from the tree back to XML&lt;/li&gt; &lt;!-- this is some comment --&gt;
            &lt;li&gt;this&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/body&gt;
&lt;/html&gt;
&quot;
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.doc"></a>Xml.doc</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.doc get input1 =
  { &quot;#declaration&quot;
    { &quot;#attribute&quot;
      { &quot;version&quot; = &quot;1.0&quot; }
      { &quot;encoding&quot; = &quot;UTF-8&quot; }
    }
  }
  { &quot;html&quot;
    { &quot;#text&quot; = &quot;\r\n    &quot; }
    { &quot;head&quot;
      { &quot;#text&quot; = &quot;\n        &quot; }
      { &quot;title&quot;
        { &quot;#text&quot; = &quot;Wiki&quot; }
      }
      { &quot;#text&quot; = &quot;    &quot; }
    }
    { &quot;#text&quot; = &quot;    &quot; }
    { &quot;body&quot;
      { &quot;#text&quot; = &quot;
        &quot; }
      { &quot;h1&quot;
        { &quot;#text&quot; = &quot;Augeas&quot; }
      }
      { &quot;#text&quot; = &quot;        &quot; }
      { &quot;p&quot;
        { &quot;#attribute&quot;
          { &quot;class&quot; = &quot;main&quot; }
        }
        { &quot;#text&quot; = &quot;Augeas is now able to parse XML files!&quot; }
      }
      { &quot;#text&quot; = &quot;        &quot; }
      { &quot;ul&quot;
        { &quot;#text&quot; = &quot;\n            &quot; }
        { &quot;li&quot;
          { &quot;#text&quot; = &quot;Translate from XML to a tree syntax&quot; }
        }
        { &quot;#text&quot; = &quot;            &quot; }
        { &quot;li&quot;
          { &quot;#text&quot; = &quot;Translate from the tree back to XML&quot; }
        }
        { &quot;#text&quot; = &quot; &quot; }
        { &quot;#comment&quot; = &quot; this is some comment &quot; }
        { &quot;#text&quot; = &quot;
            &quot; }
        { &quot;li&quot;
          { &quot;#text&quot; = &quot;this&quot; }
        }
        { &quot;#text&quot; = &quot;        &quot; }
      }
      { &quot;#text&quot; = &quot;    &quot; }
    }
  }
</td></tr></table></blockquote><p>Test <a href="#Test_Xml.input1" class=LAugeasVariable id=link43 onMouseOver="ShowTip(event, 'tt23', 'link43')" onMouseOut="HideTip('tt23')">input1</a> with <a href="#Test_Xml.Xml.doc" class=LAugeasTest id=link44 onMouseOver="ShowTip(event, 'tt24', 'link44')" onMouseOut="HideTip('tt24')">Xml.doc</a></p></div></div></div>

<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.Xml.doc"></a>Xml.doc</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.doc put input1 after rm &quot;/html/body&quot; =
&quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot;?&gt;
&lt;html&gt;\r
    &lt;head&gt;
        &lt;title&gt;Wiki&lt;/title&gt;
    &lt;/head&gt;
    &lt;/html&gt;
&quot;

</td></tr></table></blockquote><p>Modify <a href="#Test_Xml.input1" class=LAugeasVariable id=link45 onMouseOver="ShowTip(event, 'tt23', 'link45')" onMouseOut="HideTip('tt23')">input1</a> with <a href="#Test_Xml.Xml.doc" class=LAugeasTest id=link46 onMouseOver="ShowTip(event, 'tt24', 'link46')" onMouseOut="HideTip('tt24')">Xml.doc</a></p></div></div></div>

<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Xml.ul1"></a>ul1</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let ul1 = &quot;
&lt;ul&gt;
 &lt;li&gt;test1&lt;/li&gt;
  &lt;li&gt;test2&lt;/li&gt;
   &lt;li&gt;test3&lt;/li&gt;
    &lt;li&gt;test4&lt;/li&gt;
&lt;/ul&gt;
&quot;

test Xml.doc get ul1 =
  { &quot;ul&quot;
    { &quot;#text&quot; = &quot;
 &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test1&quot; }
    }
    { &quot;#text&quot; = &quot;  &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test2&quot; }
    }
    { &quot;#text&quot; = &quot;   &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test3&quot; }
    }
    { &quot;#text&quot; = &quot;    &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test4&quot; }
    }
  }


</td></tr></table></blockquote></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>Augeas Documentation<div class=MSubTitle>Modules</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Main Site</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MLink><a href="/index.html">Main</a></div></div><div class=MEntry><div class=MLink><a href="/docs/index.html">Documentation</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Specific Modules</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../access-aug.html">Access</a></div></div><div class=MEntry><div class=MFile><a href="../activemq_conf-aug.html">ActiveMQ_Conf</a></div></div><div class=MEntry><div class=MFile><a href="../activemq_xml-aug.html">ActiveMQ_XML</a></div></div><div class=MEntry><div class=MFile><a href="../aliases-aug.html">Aliases</a></div></div><div class=MEntry><div class=MFile><a href="../anacron-aug.html">Anacron</a></div></div><div class=MEntry><div class=MFile><a href="../approx-aug.html">Approx</a></div></div><div class=MEntry><div class=MFile><a href="../apt_update_manager-aug.html">Apt_Update_Manager</a></div></div><div class=MEntry><div class=MFile><a href="../aptcacherngsecurity-aug.html">AptCacherNGSecurity</a></div></div><div class=MEntry><div class=MFile><a href="../aptconf-aug.html">AptConf</a></div></div><div class=MEntry><div class=MFile><a href="../aptpreferences-aug.html">AptPreferences</a></div></div><div class=MEntry><div class=MFile><a href="../aptsources-aug.html">Aptsources</a></div></div><div class=MEntry><div class=MFile><a href="../authorized_keys-aug.html">Authorized_Keys</a></div></div><div class=MEntry><div class=MFile><a href="../automaster-aug.html">Automaster</a></div></div><div class=MEntry><div class=MFile><a href="../automounter-aug.html">Automounter</a></div></div><div class=MEntry><div class=MFile><a href="../avahi-aug.html">Avahi</a></div></div><div class=MEntry><div class=MFile><a href="../backuppchosts-aug.html">BackupPCHosts</a></div></div><div class=MEntry><div class=MFile><a href="../bootconf-aug.html">BootConf</a></div></div><div class=MEntry><div class=MFile><a href="../cachefilesd-aug.html">Cachefilesd</a></div></div><div class=MEntry><div class=MFile><a href="../carbon-aug.html">Carbon</a></div></div><div class=MEntry><div class=MFile><a href="../cgconfig-aug.html">Cgconfig</a></div></div><div class=MEntry><div class=MFile><a href="../cgrules-aug.html">Cgrules</a></div></div><div class=MEntry><div class=MFile><a href="../channels-aug.html">Channels</a></div></div><div class=MEntry><div class=MFile><a href="../collectd-aug.html">Collectd</a></div></div><div class=MEntry><div class=MFile><a href="../cron-aug.html">Cron</a></div></div><div class=MEntry><div class=MFile><a href="../crypttab-aug.html">Crypttab</a></div></div><div class=MEntry><div class=MFile><a href="../cups-aug.html">Cups</a></div></div><div class=MEntry><div class=MFile><a href="../debctrl-aug.html">Debctrl</a></div></div><div class=MEntry><div class=MFile><a href="../desktop-aug.html">Desktop</a></div></div><div class=MEntry><div class=MFile><a href="../dhcpd-aug.html">Dhcpd</a></div></div><div class=MEntry><div class=MFile><a href="../dovecot-aug.html">Dovecot</a></div></div><div class=MEntry><div class=MFile><a href="../dpkg-aug.html">Dpkg</a></div></div><div class=MEntry><div class=MFile><a href="../exports-aug.html">Exports</a></div></div><div class=MEntry><div class=MFile><a href="../fai_diskconfig-aug.html">FAI_DiskConfig</a></div></div><div class=MEntry><div class=MFile><a href="../fonts-aug.html">Fonts</a></div></div><div class=MEntry><div class=MFile><a href="../fuse-aug.html">Fuse</a></div></div><div class=MEntry><div class=MFile><a href="../grub-aug.html">Grub</a></div></div><div class=MEntry><div class=MFile><a href="../gtkbookmarks-aug.html">GtkBookmarks</a></div></div><div class=MEntry><div class=MFile><a href="../host_conf-aug.html">Host_Conf</a></div></div><div class=MEntry><div class=MFile><a href="../hostname-aug.html">Hostname</a></div></div><div class=MEntry><div class=MFile><a href="../hosts_access-aug.html">Hosts_Access</a></div></div><div class=MEntry><div class=MFile><a href="../htpasswd-aug.html">Htpasswd</a></div></div><div class=MEntry><div class=MFile><a href="../inputrc-aug.html">Inputrc</a></div></div><div class=MEntry><div class=MFile><a href="../jettyrealm-aug.html">JettyRealm</a></div></div><div class=MEntry><div class=MFile><a href="../jmxaccess-aug.html">JMXAccess</a></div></div><div class=MEntry><div class=MFile><a href="../jmxpassword-aug.html">JMXPassword</a></div></div><div class=MEntry><div class=MFile><a href="../iptables-aug.html">Iptables</a></div></div><div class=MEntry><div class=MFile><a href="../kdump-aug.html">Kdump</a></div></div><div class=MEntry><div class=MFile><a href="../keepalived-aug.html">Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="../koji-aug.html">Koji</a></div></div><div class=MEntry><div class=MFile><a href="../ldif-aug.html">Ldif</a></div></div><div class=MEntry><div class=MFile><a href="../ldso-aug.html">Ldso</a></div></div><div class=MEntry><div class=MFile><a href="../lightdm-aug.html">Lightdm</a></div></div><div class=MEntry><div class=MFile><a href="../login_defs-aug.html">Login_defs</a></div></div><div class=MEntry><div class=MFile><a href="../lokkit-aug.html">Lokkit</a></div></div><div class=MEntry><div class=MFile><a href="../lvm-aug.html">LVM</a></div></div><div class=MEntry><div class=MFile><a href="../mcollective-aug.html">MCollective</a></div></div><div class=MEntry><div class=MFile><a href="../memcached-aug.html">Memcached</a></div></div><div class=MEntry><div class=MFile><a href="../mke2fs-aug.html">Mke2fs</a></div></div><div class=MEntry><div class=MFile><a href="../modprobe-aug.html">Modprobe</a></div></div><div class=MEntry><div class=MFile><a href="../mongodbserver-aug.html">MongoDBServer</a></div></div><div class=MEntry><div class=MFile><a href="../modules-aug.html">Modules</a></div></div><div class=MEntry><div class=MFile><a href="../modules_conf-aug.html">Modules_conf</a></div></div><div class=MEntry><div class=MFile><a href="../nagioscfg-aug.html">NagiosCfg</a></div></div><div class=MEntry><div class=MFile><a href="../nagiosobjects-aug.html">NagiosObjects</a></div></div><div class=MEntry><div class=MFile><a href="../netmasks-aug.html">Netmasks</a></div></div><div class=MEntry><div class=MFile><a href="../networkmanager-aug.html">NetworkManager</a></div></div><div class=MEntry><div class=MFile><a href="../networks-aug.html">Networks</a></div></div><div class=MEntry><div class=MFile><a href="../nginx-aug.html">Nginx</a></div></div><div class=MEntry><div class=MFile><a href="../nrpe-aug.html">Nrpe</a></div></div><div class=MEntry><div class=MFile><a href="../nsswitch-aug.html">Nsswitch</a></div></div><div class=MEntry><div class=MFile><a href="../ntpd-aug.html">Ntpd</a></div></div><div class=MEntry><div class=MFile><a href="../openshift_config-aug.html">OpenShift_Config</a></div></div><div class=MEntry><div class=MFile><a href="../openshift_http-aug.html">OpenShift_Http</a></div></div><div class=MEntry><div class=MFile><a href="../openshift_quickstarts-aug.html">OpenShift_Quickstarts</a></div></div><div class=MEntry><div class=MFile><a href="../pam-aug.html">Pam</a></div></div><div class=MEntry><div class=MFile><a href="../pamconf-aug.html">PamConf</a></div></div><div class=MEntry><div class=MFile><a href="../pbuilder-aug.html">Pbuilder</a></div></div><div class=MEntry><div class=MFile><a href="../pg_hba-aug.html">Pg_Hba</a></div></div><div class=MEntry><div class=MFile><a href="../postfix_transport-aug.html">Postfix_Transport</a></div></div><div class=MEntry><div class=MFile><a href="../postfix_virtual-aug.html">Postfix_Virtual</a></div></div><div class=MEntry><div class=MFile><a href="../postgresql-aug.html">Postgresql</a></div></div><div class=MEntry><div class=MFile><a href="../protocols-aug.html">Protocols</a></div></div><div class=MEntry><div class=MFile><a href="../puppetfileserver-aug.html">PuppetFileserver</a></div></div><div class=MEntry><div class=MFile><a href="../puppet_auth-aug.html">Puppet_Auth</a></div></div><div class=MEntry><div class=MFile><a href="../qpid-aug.html">Qpid</a></div></div><div class=MEntry><div class=MFile><a href="../rabbitmq-aug.html">Rabbitmq</a></div></div><div class=MEntry><div class=MFile><a href="../redis-aug.html">Redis</a></div></div><div class=MEntry><div class=MFile><a href="../reprepro_uploaders-aug.html">Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="../resolv-aug.html">Resolv</a></div></div><div class=MEntry><div class=MFile><a href="../rsyslog-aug.html">Rsyslog</a></div></div><div class=MEntry><div class=MFile><a href="../schroot-aug.html">Schroot</a></div></div><div class=MEntry><div class=MFile><a href="../services-aug.html">Services</a></div></div><div class=MEntry><div class=MFile><a href="../shells-aug.html">Shells</a></div></div><div class=MEntry><div class=MFile><a href="../shellvars-aug.html">Shellvars</a></div></div><div class=MEntry><div class=MFile><a href="../simplelines-aug.html">Simplelines</a></div></div><div class=MEntry><div class=MFile><a href="../simplevars-aug.html">Simplevars</a></div></div><div class=MEntry><div class=MFile><a href="../sip_conf-aug.html">Sip_Conf</a></div></div><div class=MEntry><div class=MFile><a href="../smbusers-aug.html">SmbUsers</a></div></div><div class=MEntry><div class=MFile><a href="../splunk-aug.html">Splunk</a></div></div><div class=MEntry><div class=MFile><a href="../solaris_system-aug.html">Solaris_System</a></div></div><div class=MEntry><div class=MFile><a href="../ssh-aug.html">Ssh</a></div></div><div class=MEntry><div class=MFile><a href="../sshd-aug.html">Sshd</a></div></div><div class=MEntry><div class=MFile><a href="../sssd-aug.html">Sssd</a></div></div><div class=MEntry><div class=MFile><a href="../subversion-aug.html">Subversion</a></div></div><div class=MEntry><div class=MFile><a href="../sudoers-aug.html">Sudoers</a></div></div><div class=MEntry><div class=MFile><a href="../sysconfig_route-aug.html">Sysconfig_Route</a></div></div><div class=MEntry><div class=MFile><a href="../sysctl-aug.html">Sysctl</a></div></div><div class=MEntry><div class=MFile><a href="../syslog-aug.html">Syslog</a></div></div><div class=MEntry><div class=MFile><a href="../systemd-aug.html">Systemd</a></div></div><div class=MEntry><div class=MFile><a href="../thttpd-aug.html">Thttpd</a></div></div><div class=MEntry><div class=MFile><a href="../up2date-aug.html">Up2date</a></div></div><div class=MEntry><div class=MFile><a href="../vmware_config-aug.html">VWware_Config</a></div></div><div class=MEntry><div class=MFile><a href="../vfstab-aug.html">Vfstab</a></div></div><div class=MEntry><div class=MFile><a href="../xinetd-aug.html">Xinetd</a></div></div><div class=MEntry><div class=MFile><a href="../xorg-aug.html">Xorg</a></div></div><div class=MEntry><div class=MFile><a href="../xymon_alerting-aug.html">Xymon_Alerting</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Generic Modules</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../build-aug.html">Build</a></div></div><div class=MEntry><div class=MFile><a href="../erlang-aug.html">Erlang</a></div></div><div class=MEntry><div class=MFile><a href="../inifile-aug.html">IniFile</a></div></div><div class=MEntry><div class=MFile><a href="../quote-aug.html">Quote</a></div></div><div class=MEntry><div class=MFile><a href="../rx-aug.html">Rx</a></div></div><div class=MEntry><div class=MFile><a href="../sep-aug.html">Sep</a></div></div><div class=MEntry><div class=MFile><a href="../util-aug.html">Util</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Tests and Examples</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="test_access-aug.html">Test_Access</a></div></div><div class=MEntry><div class=MFile><a href="test_activemq_conf-aug.html">Test_ActiveMQ_Conf</a></div></div><div class=MEntry><div class=MFile><a href="test_activemq_xml-aug.html">Test_ActiveMQ_XML</a></div></div><div class=MEntry><div class=MFile><a href="test_aliases-aug.html">Test_Aliases</a></div></div><div class=MEntry><div class=MFile><a href="test_anacron-aug.html">Test_Anacron</a></div></div><div class=MEntry><div class=MFile><a href="test_approx-aug.html">Test_Approx</a></div></div><div class=MEntry><div class=MFile><a href="test_apt_update_manager-aug.html">Test_Apt_Update_Manager</a></div></div><div class=MEntry><div class=MFile><a href="test_authorized_keys-aug.html">Test_Authorized_Keys</a></div></div><div class=MEntry><div class=MFile><a href="test_bootconf-aug.html">Test_BootConf</a></div></div><div class=MEntry><div class=MFile><a href="test_build-aug.html">Test_Build</a></div></div><div class=MEntry><div class=MFile><a href="test_carbon-aug.html">Test_Carbon</a></div></div><div class=MEntry><div class=MFile><a href="test_channels-aug.html">Test_Channels</a></div></div><div class=MEntry><div class=MFile><a href="test_collectd-aug.html">Test_Collectd</a></div></div><div class=MEntry><div class=MFile><a href="test_cups-aug.html">Test_Cups</a></div></div><div class=MEntry><div class=MFile><a href="test_dovecot-aug.html">Test_Dovecot</a></div></div><div class=MEntry><div class=MFile><a href="test_erlang-aug.html">Test_Erlang</a></div></div><div class=MEntry><div class=MFile><a href="test_fai_diskconfig-aug.html">Test_FAI_DiskConfig</a></div></div><div class=MEntry><div class=MFile><a href="test_fonts-aug.html">Test_Fonts</a></div></div><div class=MEntry><div class=MFile><a href="test_fuse-aug.html">Test_Fuse</a></div></div><div class=MEntry><div class=MFile><a href="test_gtkbookmarks-aug.html">Test_GtkBookmarks</a></div></div><div class=MEntry><div class=MFile><a href="test_htpasswd-aug.html">Test_Htpasswd</a></div></div><div class=MEntry><div class=MFile><a href="test_inifile-aug.html">Test_IniFile</a></div></div><div class=MEntry><div class=MFile><a href="test_inputrc-aug.html">Test_Inputrc</a></div></div><div class=MEntry><div class=MFile><a href="test_jettyrealm-aug.html">Test_JettyRealm</a></div></div><div class=MEntry><div class=MFile><a href="test_jmxaccess-aug.html">Test_JMXAccess</a></div></div><div class=MEntry><div class=MFile><a href="test_jmxpassword-aug.html">Test_JMXPassword</a></div></div><div class=MEntry><div class=MFile><a href="test_keepalived-aug.html">Test_Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="test_koji-aug.html">Test_Koji</a></div></div><div class=MEntry><div class=MFile><a href="test_ldso-aug.html">Test_Ldso</a></div></div><div class=MEntry><div class=MFile><a href="test_lightdm-aug.html">Test_Lightdm</a></div></div><div class=MEntry><div class=MFile><a href="test_lvm-aug.html">Test_LVM</a></div></div><div class=MEntry><div class=MFile><a href="test_mcollective-aug.html">Test_MCollective</a></div></div><div class=MEntry><div class=MFile><a href="test_memcached-aug.html">Test_Memcached</a></div></div><div class=MEntry><div class=MFile><a href="test_mongodbserver-aug.html">Test_MongoDBServer</a></div></div><div class=MEntry><div class=MFile><a href="test_nagioscfg-aug.html">Test_NagiosCfg</a></div></div><div class=MEntry><div class=MFile><a href="test_networkmanager-aug.html">Test_NetworkManager</a></div></div><div class=MEntry><div class=MFile><a href="test_nginx-aug.html">Test_Nginx</a></div></div><div class=MEntry><div class=MFile><a href="test_ntpd-aug.html">Test_Ntpd</a></div></div><div class=MEntry><div class=MFile><a href="test_openshift_config-aug.html">Test_OpenShift_Config</a></div></div><div class=MEntry><div class=MFile><a href="test_openshift_http-aug.html">Test_OpenShift_Http</a></div></div><div class=MEntry><div class=MFile><a href="test_openshift_quickstarts-aug.html">Test_OpenShift_Quickstarts</a></div></div><div class=MEntry><div class=MFile><a href="test_postfix_transport-aug.html">Test_Postfix_Transport</a></div></div><div class=MEntry><div class=MFile><a href="test_postfix_virtual-aug.html">Test_Postfix_Virtual</a></div></div><div class=MEntry><div class=MFile><a href="test_postgresql-aug.html">Test_Postgresql</a></div></div><div class=MEntry><div class=MFile><a href="test_protocols-aug.html">Test_Protocols</a></div></div><div class=MEntry><div class=MFile><a href="test_puppet_auth-aug.html">Test_Puppet_Auth</a></div></div><div class=MEntry><div class=MFile><a href="test_qpid-aug.html">Test_Qpid</a></div></div><div class=MEntry><div class=MFile><a href="test_quote-aug.html">Test_Quote</a></div></div><div class=MEntry><div class=MFile><a href="test_rabbitmq-aug.html">Test_Rabbitmq</a></div></div><div class=MEntry><div class=MFile><a href="test_redis-aug.html">Test_Redis</a></div></div><div class=MEntry><div class=MFile><a href="test_reprepro_uploaders-aug.html">Test_Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="test_rsyslog-aug.html">Test_Rsyslog</a></div></div><div class=MEntry><div class=MFile><a href="test_simplelines-aug.html">Test_Simplelines</a></div></div><div class=MEntry><div class=MFile><a href="test_simplevars-aug.html">Test_Simplevars</a></div></div><div class=MEntry><div class=MFile><a href="test_smbusers-aug.html">Test_SmbUsers</a></div></div><div class=MEntry><div class=MFile><a href="test_subversion-aug.html">Test_Subversion</a></div></div><div class=MEntry><div class=MFile><a href="test_sysconfig_route-aug.html">Test_Sysconfig_Route</a></div></div><div class=MEntry><div class=MFile><a href="test_sysctl-aug.html">Test_Sysctl</a></div></div><div class=MEntry><div class=MFile><a href="test_systemd-aug.html">Test_Systemd</a></div></div><div class=MEntry><div class=MFile><a href="test_thttpd-aug.html">Test_Thttpd</a></div></div><div class=MEntry><div class=MFile><a href="test_up2date-aug.html">Test_Up2date</a></div></div><div class=MEntry><div class=MFile><a href="test_vmware_config-aug.html">Test_VMware_Config</a></div></div><div class=MEntry><div class=MFile id=MSelected>Test_Xml</div></div><div class=MEntry><div class=MFile><a href="test_yum-aug.html">Test_Yum</a></div></div><div class=MEntry><div class=MFile><a href="test_login_defs-aug.html">Test_login_defs</a></div></div><div class=MEntry><div class=MFile><a href="test_sssd-aug.html">Test_sssd</a></div></div><div class=MEntry><div class=MFile><a href="test_sudoers-aug.html">Test_sudoers</a></div></div><div class=MEntry><div class=MFile><a href="test_ssh-aug.html">Test_ssh</a></div></div><div class=MEntry><div class=MFile><a href="test_sshd-aug.html">Test_sshd</a></div></div><div class=MEntry><div class=MFile><a href="test_shellvars_list-aug.html">Shellvars_list.lns</a></div></div><div class=MEntry><div class=MFile><a href="test_slapd-aug.html">test_slapd.aug</a></div></div><div class=MEntry><div class=MFile><a href="test_xymon_alerting-aug.html">Test_Xymon_Alerting</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Index</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MIndex><a href="../../index/AugeasLenses.html">Lenses</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/AugeasModules.html">Modules</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/AugeasVariables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/AugeasTests.html">Tests</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="AugeasLenses">Augeas Lenses</option><option value="AugeasModules">Augeas Modules</option><option value="AugeasTests">Augeas Tests</option><option value="AugeasVariables">Augeas Variables</option><option value="Files">Files</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([4], 6);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let knode (r:regexp) = [ key r ]
</td></tr></table></blockquote>A simple flag function</div></div><div class=CToolTip id="tt2"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.comment get
 &quot;&lt;!-- declarations for &lt;head&gt; &amp; &lt;body&gt; --&gt;&quot; =

  { &quot;#comment&quot; = &quot; declarations for &lt;head&gt; &amp; &lt;body&gt; &quot; }
</td></tr></table></blockquote>Comments get mapped into &ldquo;#comment&rdquo; nodes.</div></div><div class=CToolTip id="tt3"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.prolog get
 &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot;?&gt;&quot; =

  { &quot;#declaration&quot;
    { &quot;#attribute&quot;
      { &quot;version&quot; = &quot;1.0&quot; }
      { &quot;encoding&quot; = &quot;UTF-8&quot; }
    }
  }
</td></tr></table></blockquote>The XML prolog tag is mapped in a &ldquo;#declaration&rdquo; node, which contains an &ldquo;#attribute&rdquo; node with various attributes of the tag.</div></div><div class=CToolTip id="tt4"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.decl_def_item get
 &quot;&lt;!ELEMENT greeting (#PCDATA)&gt;&quot; =

  { &quot;!ELEMENT&quot; = &quot;greeting&quot;
    { &quot;#decl&quot; = &quot;(#PCDATA)&quot; }
  }
</td></tr></table></blockquote>!ELEMENT declaration tags are mapped in &ldquo;!ELEMENT&rdquo; nodes. </div></div><div class=CToolTip id="tt5"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.doctype get
 &quot;&lt;!DOCTYPE greeting SYSTEM \&quot;hello.dtd\&quot;&gt;&quot; =

  { &quot;!DOCTYPE&quot; = &quot;greeting&quot;
    { &quot;SYSTEM&quot; = &quot;hello.dtd&quot; }
  }
</td></tr></table></blockquote>!DOCTYPE tags are mapped in &ldquo;!DOCTYPE&rdquo; nodes. </div></div><div class=CToolTip id="tt6"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let att_def1 = &quot;&lt;!ATTLIST termdef
id      ID      #REQUIRED
name    CDATA   #IMPLIED&gt;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt7"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let att_def2 = &quot;&lt;!ATTLIST list
type    (bullets|ordered|glossary)  \&quot;ordered\&quot;&gt;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt8"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let att_def3 = &quot;&lt;!ATTLIST form
method  CDATA   #FIXED \&quot;POST\&quot;&gt;&quot;
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt9"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.att_list_def get
 att_def1 =

  { &quot;!ATTLIST&quot; = &quot;termdef&quot;
    { &quot;1&quot;
      { &quot;#name&quot; = &quot;id&quot; }
      { &quot;#type&quot; = &quot;ID&quot; }
      { &quot;#REQUIRED&quot; }
    }
    { &quot;2&quot;
      { &quot;#name&quot; = &quot;name&quot; }
      { &quot;#type&quot; = &quot;CDATA&quot; }
      { &quot;#IMPLIED&quot; }
    }
  }
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt10"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.notation_def get
 &quot;&lt;!NOTATION not3 SYSTEM \&quot;\&quot;&gt;&quot; =

  { &quot;!NOTATION&quot; = &quot;not3&quot;
    { &quot;SYSTEM&quot; = &quot;&quot; }
  }
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt11"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let cdata1 = &quot;&lt;![CDATA[testing]]&gt;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt12"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.cdata get cdata1 = { &quot;#CDATA&quot; = &quot;testing&quot; }
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt13"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let attr1 = &quot; attr1=\&quot;value1\&quot; attr2=\&quot;value2\&quot;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt14"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let attr2 = &quot; attr2=\&quot;foo\&quot;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt15"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.attributes get attr1 =
  { &quot;#attribute&quot;
    { &quot;attr1&quot; = &quot;value1&quot; }
    { &quot;attr2&quot; = &quot;value2&quot; }
  }
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt16"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty1 = &quot;&lt;a/&gt;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt17"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty2 = &quot;&lt;a foo=\&quot;bar\&quot;/&gt;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt18"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty3 = &quot;&lt;a foo=\&quot;bar\&quot;&gt;&lt;/a&gt;\n&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt19"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty4 = &quot;&lt;a foo=\&quot;bar\&quot; far=\&quot;baz\&quot;/&gt;&quot;</td></tr></table></blockquote></div></div><div class=CToolTip id="tt20"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.empty_element get empty1 = { &quot;a&quot; = &quot;#empty&quot; }</td></tr></table></blockquote></div></div><div class=CToolTip id="tt21"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.content put &quot;&lt;a&gt;&lt;b/&gt;&lt;/a&gt;&quot; after clear &quot;/a/b&quot; = &quot;&lt;a&gt;&lt;b&gt;&lt;/b&gt;\n&lt;/a&gt;&quot;

</td></tr></table></blockquote></div></div><div class=CToolTip id="tt22"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.lns put &quot;&lt;a&gt;&lt;/a &gt;&quot; after set &quot;/a/#text[1]&quot; &quot;foo&quot;;
                                 set &quot;/a/#text[2]&quot; &quot;bar&quot; = &quot;&lt;a&gt;foobar&lt;/a &gt;&quot;
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt23"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let input1 = &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot;?&gt;
&lt;html&gt;\r
    &lt;head&gt;
        &lt;title&gt;Wiki&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;Augeas&lt;/h1&gt;
        &lt;p class=\&quot;main\&quot;&gt;Augeas is now able to parse XML files!&lt;/p&gt;
        &lt;ul&gt;
            &lt;li&gt;Translate from XML to a tree syntax&lt;/li&gt;
            &lt;li&gt;Translate from the tree back to XML&lt;/li&gt; &lt;!-- this is some comment --&gt;
            &lt;li&gt;this&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/body&gt;
&lt;/html&gt;
&quot;
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt24"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Xml.doc get input1 =
  { &quot;#declaration&quot;
    { &quot;#attribute&quot;
      { &quot;version&quot; = &quot;1.0&quot; }
      { &quot;encoding&quot; = &quot;UTF-8&quot; }
    }
  }
  { &quot;html&quot;
    { &quot;#text&quot; = &quot;\r\n    &quot; }
    { &quot;head&quot;
      { &quot;#text&quot; = &quot;\n        &quot; }
      { &quot;title&quot;
        { &quot;#text&quot; = &quot;Wiki&quot; }
      }
      { &quot;#text&quot; = &quot;    &quot; }
    }
    { &quot;#text&quot; = &quot;    &quot; }
    { &quot;body&quot;
      { &quot;#text&quot; = &quot;
        &quot; }
      { &quot;h1&quot;
        { &quot;#text&quot; = &quot;Augeas&quot; }
      }
      { &quot;#text&quot; = &quot;        &quot; }
      { &quot;p&quot;
        { &quot;#attribute&quot;
          { &quot;class&quot; = &quot;main&quot; }
        }
        { &quot;#text&quot; = &quot;Augeas is now able to parse XML files!&quot; }
      }
      { &quot;#text&quot; = &quot;        &quot; }
      { &quot;ul&quot;
        { &quot;#text&quot; = &quot;\n            &quot; }
        { &quot;li&quot;
          { &quot;#text&quot; = &quot;Translate from XML to a tree syntax&quot; }
        }
        { &quot;#text&quot; = &quot;            &quot; }
        { &quot;li&quot;
          { &quot;#text&quot; = &quot;Translate from the tree back to XML&quot; }
        }
        { &quot;#text&quot; = &quot; &quot; }
        { &quot;#comment&quot; = &quot; this is some comment &quot; }
        { &quot;#text&quot; = &quot;
            &quot; }
        { &quot;li&quot;
          { &quot;#text&quot; = &quot;this&quot; }
        }
        { &quot;#text&quot; = &quot;        &quot; }
      }
      { &quot;#text&quot; = &quot;    &quot; }
    }
  }
</td></tr></table></blockquote>Test input1 with Xml.doc</div></div><div class=CToolTip id="tt25"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let ul1 = &quot;
&lt;ul&gt;
 &lt;li&gt;test1&lt;/li&gt;
  &lt;li&gt;test2&lt;/li&gt;
   &lt;li&gt;test3&lt;/li&gt;
    &lt;li&gt;test4&lt;/li&gt;
&lt;/ul&gt;
&quot;

test Xml.doc get ul1 =
  { &quot;ul&quot;
    { &quot;#text&quot; = &quot;
 &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test1&quot; }
    }
    { &quot;#text&quot; = &quot;  &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test2&quot; }
    }
    { &quot;#text&quot; = &quot;   &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test3&quot; }
    }
    { &quot;#text&quot; = &quot;    &quot; }
    { &quot;li&quot;
      { &quot;#text&quot; = &quot;test4&quot; }
    }
  }


</td></tr></table></blockquote></div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>