• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYINGH A D16-Dec-202124.7 KiB483400

COPYRIGHTH A D16-Dec-202170 52

ChangeLogH A D16-Dec-20216.5 KiB221123

DOM+JS.mH A D16-Dec-202112.9 KiB473393

DOM-Info.plistH A D16-Dec-2021727 2524

DOM.hH A D16-Dec-20211.4 KiB4921

DOMAttribute.hH A D16-Dec-20212.5 KiB7923

DOMAttribute.mH A D16-Dec-20214.1 KiB197156

DOMBuilder.hH A D16-Dec-20211.3 KiB4511

DOMBuilderFactory.hH A D16-Dec-20211.5 KiB5615

DOMBuilderFactory.mH A D16-Dec-20212.8 KiB10076

DOMCDATASection.hH A D16-Dec-20211.1 KiB3910

DOMCDATASection.mH A D16-Dec-20211.2 KiB5038

DOMCharacterData.hH A D16-Dec-20211 KiB3811

DOMCharacterData.mH A D16-Dec-20212.6 KiB11791

DOMComment.hH A D16-Dec-2021988 369

DOMComment.mH A D16-Dec-20211.2 KiB5038

DOMDocument+factory.mH A D16-Dec-20211.9 KiB6551

DOMDocument.hH A D16-Dec-20211.9 KiB7736

DOMDocument.mH A D16-Dec-20219.1 KiB380318

DOMDocumentBuilder.hH A D16-Dec-2021961 336

DOMDocumentFragment.hH A D16-Dec-20211.3 KiB4615

DOMDocumentFragment.mH A D16-Dec-20211.5 KiB6550

DOMDocumentType.hH A D16-Dec-20211.3 KiB5520

DOMDocumentType.mH A D16-Dec-20211.8 KiB9275

DOMElement.hH A D16-Dec-20212 KiB7121

DOMElement.mH A D16-Dec-202119.6 KiB803631

DOMEntity.hH A D16-Dec-20211.1 KiB4914

DOMEntity.mH A D16-Dec-20211.7 KiB8063

DOMEntityReference.hH A D16-Dec-20211.2 KiB4914

DOMEntityReference.mH A D16-Dec-20211.5 KiB5946

DOMImplementation.hH A D16-Dec-20211.6 KiB6030

DOMImplementation.mH A D16-Dec-20212.5 KiB10083

DOMNamedNodeMap.hH A D16-Dec-2021879 263

DOMNode+Enum.hH A D16-Dec-20211.1 KiB4211

DOMNode+Enum.mH A D16-Dec-20211.8 KiB7253

DOMNode+QPEval.mH A D16-Dec-20211.1 KiB4230

DOMNode+QueryPath.hH A D16-Dec-20211.3 KiB4610

DOMNode+QueryPath.mH A D16-Dec-20211.4 KiB5135

DOMNode.hH A D16-Dec-20211.5 KiB6731

DOMNode.mH A D16-Dec-20217.7 KiB311250

DOMNodeFilter.hH A D16-Dec-20211.8 KiB5625

DOMNodeFilter.mH A D16-Dec-2021946 3122

DOMNodeIterator.hH A D16-Dec-20211.3 KiB5622

DOMNodeIterator.mH A D16-Dec-20212 KiB8669

DOMNodeWalker.hH A D16-Dec-20211.4 KiB6126

DOMNodeWalker.mH A D16-Dec-20213 KiB149111

DOMNodeWithChildren.mH A D16-Dec-20214.2 KiB165126

DOMNotation.hH A D16-Dec-20211 KiB4310

DOMNotation.mH A D16-Dec-20211.4 KiB6047

DOMPYXOutputter.hH A D16-Dec-20211,017 369

DOMPYXOutputter.mH A D16-Dec-20215.5 KiB210172

DOMProcessingInstruction.hH A D16-Dec-20211.3 KiB5418

DOMProcessingInstruction.mH A D16-Dec-20212.4 KiB10584

DOMProtocols.hH A D16-Dec-20217.1 KiB261145

DOMQueryPathExpression.hH A D16-Dec-20212.3 KiB6912

DOMQueryPathExpression.mH A D16-Dec-202121.7 KiB879716

DOMSaxBuilder.hH A D16-Dec-20211.2 KiB4516

DOMSaxBuilder.mH A D16-Dec-20214.4 KiB186143

DOMSaxHandler.hH A D16-Dec-20211.5 KiB6931

DOMSaxHandler.mH A D16-Dec-202110.7 KiB456356

DOMText.hH A D16-Dec-20211.8 KiB528

DOMText.mH A D16-Dec-20211.6 KiB7557

DOMTreeWalker.hH A D16-Dec-20211.9 KiB7635

DOMTreeWalker.mH A D16-Dec-20217.1 KiB297247

DOMXMLOutputter.hH A D16-Dec-20211.2 KiB4814

DOMXMLOutputter.mH A D16-Dec-202111.6 KiB443364

EDOM.hH A D16-Dec-2021995 356

GNUmakefileH A D16-Dec-20212.1 KiB11094

GNUmakefile.preambleH A D16-Dec-20211.4 KiB5639

NSObject+DOM.mH A D16-Dec-20211 KiB3929

NSObject+QPEval.hH A D16-Dec-20211.1 KiB4312

NSObject+QPEval.mH A D16-Dec-20215.8 KiB240182

NSObject+StringValue.hH A D16-Dec-20211,005 327

NSObject+StringValue.mH A D16-Dec-20211.2 KiB4732

READMEH A D16-Dec-20211.4 KiB7452

SxXML-DOM.graffleH A D16-Dec-202156.3 KiB2,3252,284

TODOH A D16-Dec-202176 53

VersionH A D16-Dec-202137 42

common.hH A D16-Dec-20211.2 KiB3913

fhs.makeH A D16-Dec-2021978 3624

README

1How to build a DOM tree ?
2=========================
3
41. get a factory
5
6  DOMBuilderFactory *factory
7    = [DOMBuilderFactory standardDOMBuilderFactory];
8
92. get a builder for your resource type
10
11  id<DOMBuilder> builder
12    = [factory createDOMBuilderForMimeType:@"text/xml"];
13
143. parse what you have:
15
16  id<DOMDocument> document
17    = [builder buildFromSource:@"myfile.xml"];
18
19
20KVC
21===
22
23You can navigate the DOM tree with standard key/value coding. The NGDOMDocument
24will treat all KVC keys starting with a "/" as query path expressions.
25
26Samples:
27  document.documentElement             => root DOMElement
28  document.documentElement.childNodes  => NSArray containing the root children
29  document./uid                        => DOMElement or array! matching 'uid'
30  document./uid.textValue              => text-value of 'uid' element
31
32  element.@value.textValue    => text-value of 'value' attribute of element
33  element./subnode.textValue  => lookup subnode (strips of the /) using QP
34
35
36Some info on classes ...
37========================
38
39Nodes with children
40
41  Document
42  DocumentFragment
43  EntityReference
44  Element
45  Attr
46  Entity
47
48Nodes without children
49
50  DocumentType
51  ProcessingInstruction
52  Comment
53  Text
54  CDATASection
55  Notation
56
57Nodes with parent
58
59  DocumentType
60  EntityReference
61  Element
62  ProcessingInstruction
63  Comment
64  Text
65  CDATASection
66
67Nodes without parent
68
69  Document
70  DocumentFragment
71  Attr
72  Entity
73  Notation
74