This file is indexed.

/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSXMLNode.html is in gnustep-base-doc 1.24.7-1build2.

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
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <title>NSXMLNode class documentation</title>
  </head>
  <body>
    <font face="serif">
    <a href="Base.html">Up</a>
    <br />
    <h1><a name="title$NSXMLNode">NSXMLNode class documentation</a></h1>
    <h3>Authors</h3>
    <dl>
      <dt>Generated by root</dt>
      <dd>
      </dd>
    </dl>

        <div>
    </div>

          <h1><a name="001000000000">
        Software documentation for the NSXMLNode class
      </a></h1>
    <h2><a name="class$NSXMLNode">NSXMLNode</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSXMLNode.h</dd>
      </dl>
    </blockquote>
    <blockquote>
      <dl>
        <dt><b>Conforms to:</b></dt>
        <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCopying)">NSCopying</a></dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          The most primitive unit in an XML document.
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSXMLNode_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+DTDNodeWithXMLString$">+DTDNodeWithXMLString:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+attributeWithName$URI$stringValue$">+attributeWithName:URI:stringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+attributeWithName$stringValue$">+attributeWithName:stringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+commentWithStringValue$">+commentWithStringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+document">+document</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+documentWithRootElement$">+documentWithRootElement:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+elementWithName$">+elementWithName:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+elementWithName$URI$">+elementWithName:URI:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+elementWithName$children$attributes$">+elementWithName:children:attributes:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+elementWithName$stringValue$">+elementWithName:stringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+localNameForName$">+localNameForName:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+namespaceWithName$stringValue$">+namespaceWithName:stringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+predefinedNamespaceForPrefix$">+predefinedNamespaceForPrefix:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+prefixForName$">+prefixForName:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+processingInstructionWithName$stringValue$">+processingInstructionWithName:stringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode+textWithStringValue$">+textWithStringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-URI">-URI</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-XMLString">-XMLString</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-XMLStringWithOptions$">-XMLStringWithOptions:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-XPath">-XPath</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-canonicalXMLStringPreservingComments$">-canonicalXMLStringPreservingComments:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-childAtIndex$">-childAtIndex:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-childCount">-childCount</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-children">-children</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-detach">-detach</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-index">-index</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-initWithKind$">-initWithKind:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-initWithKind$options$">-initWithKind:options:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-kind">-kind</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-level">-level</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-localName">-localName</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-name">-name</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-nextNode">-nextNode</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-nextSibling">-nextSibling</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-nodesForXPath$error$">-nodesForXPath:error:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-objectValue">-objectValue</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-objectsForXQuery$constants$error$">-objectsForXQuery:constants:error:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-objectsForXQuery$error$">-objectsForXQuery:error:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-parent">-parent</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-prefix">-prefix</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-previousNode">-previousNode</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-previousSibling">-previousSibling</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-rootDocument">-rootDocument</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-setName$">-setName:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-setObjectValue$">-setObjectValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-setStringValue$">-setStringValue:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-setStringValue$resolvingEntities$">-setStringValue:resolvingEntities:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-setURI$">-setURI:</a></li>
      <li><a rel="gsdoc" href="NSXMLNode.html#method$NSXMLNode-stringValue">-stringValue</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSXMLNode+DTDNodeWithXMLString$">DTDNodeWithXMLString:&nbsp;</a></h3>
    + (id) <b>DTDNodeWithXMLString:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)string;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a DTD node from the supplied
            <var>string</var>. The node might describe element,
            attribute, entity, or notation.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+attributeWithName$URI$stringValue$">attributeWithName:&nbsp;URI:&nbsp;stringValue:&nbsp;</a></h3>
    + (id) <b>attributeWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> URI:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)URI<b> stringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)stringValue;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns an attribute node with the
            specified (fully qualified) <var>name</var>,
            namespace <var>URI</var>, and value.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+attributeWithName$stringValue$">attributeWithName:&nbsp;stringValue:&nbsp;</a></h3>
    + (id) <b>attributeWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> stringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)stringValue;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns an attribute node with the
            specified <var>name</var> and value.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+commentWithStringValue$">commentWithStringValue:&nbsp;</a></h3>
    + (id) <b>commentWithStringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)stringValue;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a comment node with the
            supplied text.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+document">document&nbsp;</a></h3>
    + (id) <b>document</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns an empty document...
            convenience method.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+documentWithRootElement$">documentWithRootElement:&nbsp;</a></h3>
    + (id) <b>documentWithRootElement:</b> (<a rel="gsdoc" href="NSXMLElement.html#class$NSXMLElement">NSXMLElement</a>*)element;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a new document intialised with
            the supplied root node.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+elementWithName$">elementWithName:&nbsp;</a></h3>
    + (id) <b>elementWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a node node with the specified
            <var>name</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+elementWithName$URI$">elementWithName:&nbsp;URI:&nbsp;</a></h3>
    + (id) <b>elementWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> URI:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)URI;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a node with the supplied (fully
            qualified <var>name</var>) an namespace
            <var>URI</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+elementWithName$children$attributes$">elementWithName:&nbsp;children:&nbsp;attributes:&nbsp;</a></h3>
    + (id) <b>elementWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> children:</b> (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*)children<b> attributes:</b> (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*)attributes;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a node containing the supplied
            child nodes and with the attribute nodes from the
            supplied array.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+elementWithName$stringValue$">elementWithName:&nbsp;stringValue:&nbsp;</a></h3>
    + (id) <b>elementWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> stringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)string;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a node with the pecified
            <var>name</var> and with a single text node
            (containing <var>string</var>) as its content.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+localNameForName$">localNameForName:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>localNameForName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Strips any leading namespace prefix from
            <var>name</var> and returns the result.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+namespaceWithName$stringValue$">namespaceWithName:&nbsp;stringValue:&nbsp;</a></h3>
    + (id) <b>namespaceWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> stringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)stringValue;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a node mapping the supplkied
            namespace <var>name</var> to the string value
            (URI).
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+predefinedNamespaceForPrefix$">predefinedNamespaceForPrefix:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>predefinedNamespaceForPrefix:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the namespace node corresponding to a
            predefined namespace names (one of xml, xs, or
            xsi)
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+prefixForName$">prefixForName:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>prefixForName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the namespace prefix of <var>name</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+processingInstructionWithName$stringValue$">processingInstructionWithName:&nbsp;stringValue:&nbsp;</a></h3>
    + (id) <b>processingInstructionWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> stringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)stringValue;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and return a processinc insruction node
            with th specified <var>name</var> and textual value.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode+textWithStringValue$">textWithStringValue:&nbsp;</a></h3>
    + (id) <b>textWithStringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)stringValue;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates and returns a simple text node.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-URI">URI&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>URI</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the URI of the receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-XMLString">XMLString&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>XMLString</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the text of the receiver as XML (ie in the
            form it would have in an XML document).
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-XMLStringWithOptions$">XMLStringWithOptions:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>XMLStringWithOptions:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)theOptions;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the text of the receiver as XML (ie in the
            form it would have in an XML document), with the
            specified options controlling it.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-XPath">XPath&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>XPath</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the XPath string to access the receiver
            with the document.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-canonicalXMLStringPreservingComments$">canonicalXMLStringPreservingComments:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>canonicalXMLStringPreservingComments:</b> (BOOL)comments;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the canonical form (see
            http://www.w3.org/TR/xml-c14n)
            of the receiveri as <strong>long</strong> as the
            NSXMLNodePreserveWhitespace has
            been set. If the option as not been set, return the
            same without white space preserved.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-childAtIndex$">childAtIndex:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>childAtIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the child node if the receiver at the
            specified <var>index</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-childCount">childCount&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>childCount</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the number of immediate child nodes of the
            receiver. <br /> This method is more efficient
            than getting the array of children and counting it.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-children">children&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>children</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns n array containing the immediate child
            nodes of the receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-detach">detach&nbsp;</a></h3>
    - (void) <b>detach</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Detaches the receiver from its parent node.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-index">index&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>index</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Return the index of the receiver within its parent
            node.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-initWithKind$">initWithKind:&nbsp;</a></h3>
    - (id) <b>initWithKind:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSXMLNodeKind">NSXMLNodeKind</a>)theKind;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Initialises the receiver as a specific kind of
            node. <br /> Calls
            <a rel="gsdoc" href="#method$NSXMLNode-initWithKind$options$">
              -initWithKind:options:
            </a>

            using NSXMLNodeOptionsNone and returns the result.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-initWithKind$options$">initWithKind:&nbsp;options:&nbsp;</a></h3>
    - (id) <b>initWithKind:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSXMLNodeKind">NSXMLNodeKind</a>)theKind<b> options:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)theOptions;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
This is a designated initialiser for the class.<br />
    <div class="desc">
      
            Initialises the receiver as the specified kind
            of node and with the specified options.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-kind">kind&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSXMLNodeKind">NSXMLNodeKind</a>) <b>kind</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the kind of node represented by the
            receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-level">level&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>level</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Return the level of the receiver within the tree of
            nodes. <br /> A document or a node which is not
            inside another is at level 0.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-localName">localName&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>localName</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the name of the receiver without any
            namespace prefix.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-name">name&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>name</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the name of the receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-nextNode">nextNode&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>nextNode</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the next node in the tree.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-nextSibling">nextSibling&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>nextSibling</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the next sibling of the receiver
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-nodesForXPath$error$">nodesForXPath:&nbsp;error:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>nodesForXPath:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)anxpath<b> error:</b> (<a rel="gsdoc" href="NSError.html#class$NSError">NSError</a>**)error;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the nodes resulting from applying xpath to
            the receiver. <br /> Before using xpath on a tree, you
            must call the
            <a rel="gsdoc" href="NSXMLElement.html#method$NSXMLElement-normalizeAdjacentTextNodesPreservingCDATA$">-normalizeAdjacentTextNodesPreservingCDATA:</a>
 with <code>NO</code> as the argument, in order to avoid problems where the xpath syntax cannot cope with multiple text nodes.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-objectValue">objectValue&nbsp;</a></h3>
    - (id) <b>objectValue</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the object value of the receiver (as set
            using -setObjectValue:) or <code>nil</code> if there
            is none.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-objectsForXQuery$constants$error$">objectsForXQuery:&nbsp;constants:&nbsp;error:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>objectsForXQuery:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)xquery<b> constants:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)constants<b> error:</b> (<a rel="gsdoc" href="NSError.html#class$NSError">NSError</a>**)error;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the data resulting from calling the query
            on the receiver. <br /> Before using xpath on a tree,
            you must call the
            <a rel="gsdoc" href="NSXMLElement.html#method$NSXMLElement-normalizeAdjacentTextNodesPreservingCDATA$">-normalizeAdjacentTextNodesPreservingCDATA:</a>
 with <code>NO</code> as the argument, in order to avoid problems where the xpath syntax cannot cope with multiple text nodes. <br /> The value of <var>constants</var> is a dictionary of <var>constants</var> declared to be &quot;external&quot; in the query. <br /> The resulting array amy contain array, data, date, number, string, and URL objects as well as nodes.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-objectsForXQuery$error$">objectsForXQuery:&nbsp;error:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>objectsForXQuery:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)xquery<b> error:</b> (<a rel="gsdoc" href="NSError.html#class$NSError">NSError</a>**)error;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the data resulting from calling the query
            on the receiver. <br /> The same as
            objectsForXQuery:constants:error:
            without the constants.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-parent">parent&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>parent</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the parent node of the receiver or
            <code>nil</code> if the receiver is not within
            another node.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-prefix">prefix&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>prefix</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the namepsace prefix for the receiver or
            <code>nil</code> if there is no namespace prefix.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-previousNode">previousNode&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>previousNode</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the previous node in the tree... stepping
            through the tree backwards.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-previousSibling">previousSibling&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSXMLNode">NSXMLNode</a>*) <b>previousSibling</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-rootDocument">rootDocument&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSXMLDocument.html#class$NSXMLDocument">NSXMLDocument</a>*) <b>rootDocument</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the document containing the receiver, or
            <code>nil</code> if the receiver does not lie within
            a document.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-setName$">setName:&nbsp;</a></h3>
    - (void) <b>setName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the <var>name</var> of the receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-setObjectValue$">setObjectValue:&nbsp;</a></h3>
    - (void) <b>setObjectValue:</b> (id)value;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the content of the receiver, removing any
            existing children (including comments and
            processing instructions). <br /> For an element
            node, this sets text contetn within the node.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-setStringValue$">setStringValue:&nbsp;</a></h3>
    - (void) <b>setStringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)string;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the content of the receiver to be the supplied
            <var>string</var> value... which involves removing
            existing content, comments, and processing
            instructions. <br /> If the receiver is an
            element node, this creates a text node containing
            the <var>string</var> value as the sole child of the
            receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-setStringValue$resolvingEntities$">setStringValue:&nbsp;resolvingEntities:&nbsp;</a></h3>
    - (void) <b>setStringValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)string<b> resolvingEntities:</b> (BOOL)resolve;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the <var>string</var> content of the receiver.
            <br /> if the <var>resolve</var> flag is
            <code>YES</code> then any entities which can be
            resolved are replaced by the resolved versions.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-setURI$">setURI:&nbsp;</a></h3>
    - (void) <b>setURI:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)URI;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the <var>URI</var> of the receiver.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSXMLNode-stringValue">stringValue&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>stringValue</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the string value of the receiver. For kinds
            of node which have direct string content, this simply
            returns that content. For elements this recursively
            traverses the children of the receiver appending
            the text of each child to a single string result.
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSXMLNode_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSXMLNode Class</h2>
    <h3><a name="ivariable$NSXMLNode*_internal">_internal</a></h3>
    @public GSInternal* <b>_internal</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>
    <br />
    <a href="Base.html">Up</a>
    </font>
</body>
</html>