forked from mattn/webapi-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebapi-xml.txt
More file actions
47 lines (36 loc) · 1.37 KB
/
webapi-xml.txt
File metadata and controls
47 lines (36 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
*webapi-xml.txt* XML parser written in pure vimscript.
Maintainer: mattn <[email protected]>
==============================================================================
CONTENTS *webapi-xml-contents*
INTRODUCTION |webapi-xml-introduction|
INTERFACE |webapi-xml-interface|
Functions |webapi-xml-functions|
Structures |webapi-xml-structures|
==============================================================================
INTRODUCTION *webapi-xml-introduction*
*webapi-xml* is XML parser Library.
==============================================================================
INTERFACE *webapi-xml-interface*
------------------------------------------------------------------------------
FUNCTIONS *webapi-xml-functions*
parse(content) *webapi-xml.parse()*
Parse content into DOM object.
parseFile(file) *webapi-xml.parseFile()*
Parse html file into DOM object.
parseURL(url) *webapi-xml.parseURL()*
Get and parse html into DOM object.
------------------------------------------------------------------------------
STRUCTURES *webapi-xml-structures*
DOM object is structured as |Directory| like following.
>
{
"name": "a",
"attr": {
"href": "http://example.com",
"title": "example",
},
"child": [...]
}
<
==============================================================================
vim:tw=78:fo=tcq2mM:ts=8:ft=help:norl