|
248 | 248 | char *arg, |
249 | 249 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
250 | 250 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
251 | | -Implements the XML shell function "ls" |
| 251 | +Implements the XML shell function "ls" |
252 | 252 | Does an Unix like listing of the given node (like a directory)</p><p> |
253 | 253 |
|
254 | 254 | </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the shell context |
|
260 | 260 | char *arg, |
261 | 261 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
262 | 262 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
263 | | -Implements the XML shell function "base" |
| 263 | +Implements the XML shell function "base" |
264 | 264 | dumps the current XML base of the node</p><p> |
265 | 265 |
|
266 | 266 | </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the shell context |
|
272 | 272 | char *arg, |
273 | 273 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
274 | 274 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
275 | | -Implements the XML shell function "dir" |
| 275 | +Implements the XML shell function "dir" |
276 | 276 | dumps informations about the node (namespace, attributes, content).</p><p> |
277 | 277 |
|
278 | 278 | </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the shell context |
|
284 | 284 | char *arg, |
285 | 285 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
286 | 286 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
287 | | -Implements the XML shell function "cat" |
| 287 | +Implements the XML shell function "cat" |
288 | 288 | dumps the serialization node content (XML or HTML).</p><p> |
289 | 289 |
|
290 | 290 | </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the shell context |
|
296 | 296 | char *filename, |
297 | 297 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
298 | 298 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
299 | | -Implements the XML shell function "load" |
| 299 | +Implements the XML shell function "load" |
300 | 300 | loads a new document specified by the filename</p><p> |
301 | 301 |
|
302 | 302 | </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the shell context |
|
308 | 308 | char *filename, |
309 | 309 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
310 | 310 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
311 | | -Implements the XML shell function "write" |
| 311 | +Implements the XML shell function "write" |
312 | 312 | Write the current node to the filename, it saves the serialization |
313 | 313 | of the subtree under the <i><tt>node</tt></i> specified</p><p> |
314 | 314 |
|
|
321 | 321 | char *filename, |
322 | 322 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
323 | 323 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
324 | | -Implements the XML shell function "save" |
| 324 | +Implements the XML shell function "save" |
325 | 325 | Write the current document to the filename, or it's original name</p><p> |
326 | 326 |
|
327 | 327 | </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td> the shell context |
|
333 | 333 | char *dtd, |
334 | 334 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
335 | 335 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
336 | | -Implements the XML shell function "validate" |
| 336 | +Implements the XML shell function "validate" |
337 | 337 | Validate the document, if a DTD path is provided, then the validation |
338 | 338 | is done against the given DTD.</p><p> |
339 | 339 |
|
|
346 | 346 | char *arg, |
347 | 347 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> tree, |
348 | 348 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
349 | | -Implements the XML shell function "du" |
| 349 | +Implements the XML shell function "du" |
350 | 350 | show the structure of the subtree under node <i><tt>tree</tt></i> |
351 | 351 | If <i><tt>tree</tt></i> is null, the command works on the current node.</p><p> |
352 | 352 |
|
|
359 | 359 | char *buffer, |
360 | 360 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node, |
361 | 361 | <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> node2);</pre><p> |
362 | | -Implements the XML shell function "pwd" |
| 362 | +Implements the XML shell function "pwd" |
363 | 363 | Show the full path from the root to the node, if needed building |
364 | 364 | thumblers when similar elements exists at a given ancestor level. |
365 | 365 | The output is compatible with XPath commands.</p><p> |
|
0 commit comments