Lines Matching +full:data +full:- +full:path
8 programmers need to extract information from this human-oriented
15 which allow trivial parsing and extraction of data. Such formats are
19 data, which can reduce maintenance costs and increase feature velocity.
25 traditional text output, as well as XML and JSON formatted data. HTML
27 output, with attributes that detail how to render the data.
34 Connecting to my-box.example.com...
36 <host>my-box</host>
39 "host": "my-box",
44 <div class="data" data-tag="host"
45 data-xpath="/top/host">my-box</div>
47 <div class="data" data-tag="domain"
48 data-xpath="/top/domain">example.com</div>
53 ---------------
57 - TEXT output can be display on a terminal session, allowing
59 - XML output is suitable for tools like XPath and protocols like
61 - JSON output can be used for RESTful APIs and integration with
63 - HTML can be matched with a small CSS file to permit rendering in any
66 In general, XML and JSON are suitable for encoding data, while TEXT is
81 data might look like::
83 printf("%d\t%s\n", num_blocks, path);
86 using a single code path to make TEXT, XML, JSON or HTML, deciding at
92 xo_emit("{:blocks/%d}\t{:path/%s}\n", num_blocks, path);
103 with a start tag and an end tag. The element should be named for data
108 <path>./src</path>
112 <path>./bin</path>
116 <path>.</path>
119 `XML`_ is the W3C standard for encoding data.
130 Data inside objects and lists is separated using commas::
133 { "blocks": 36, "path" : "./src" },
134 { "blocks": 40, "path" : "./bin" },
135 { "blocks": 90, "path" : "./" }
142 browser with minimal effort. Each piece of output data is rendered
144 data. By using a small set of class attribute values, a CSS
149 data, including data type, description, and an XPath location::
152 <div class="data" data-tag="blocks">36</div>
154 <div class="data" data-tag="path">./src</div>
157 <div class="data" data-tag="blocks">40</div>
159 <div class="data" data-tag="path">./bin</div>
162 <div class="data" data-tag="blocks">90</div>
164 <div class="data" data-tag="path">./</div>