X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=utils%2Fxmlgrep%2FREADME;h=33294ffbd19c639ade5cfd71396839fe802c2e64;hb=a89a28c4e62a63e05b6b889274fa848ea2bda007;hp=74cb6afd9b0b60271aac478f9a0eb2a3fd79a0aa;hpb=8943603ef15519c92fa24cafdb49e21e59e1b8a6;p=flightgear.git diff --git a/utils/xmlgrep/README b/utils/xmlgrep/README index 74cb6afd9..33294ffbd 100644 --- a/utils/xmlgrep/README +++ b/utils/xmlgrep/README @@ -47,22 +47,23 @@ Overview of the available functions: # id = xmlOpen("/tmp/file.xml"); # xmlClose(id); # -void *xmlOpen(const char *); -void xmlClose(const void *); +void *xmlOpen(const char *filename); +void *xmlInitBuffer(const char *buffer, size_t size); +void xmlClose(void *xid); # # Get the Id of a node at the specified path # e.g. # xnid = xmlNodeGet(id, "/path/to/specified/node"); # -void *xmlNodeGet(const void *, const char *); -void *xmlNodeCopy(void *, const char *); +void *xmlNodeGet(const void *xid, const char *path); +void *xmlNodeCopy(const void *xid, const char *path); # # Functions to walk the node tree and process them one by one. # e.g. # xmid = xmlMarkId(id); -# num = xmlNodeGetNum(xmid); +# num = xmlNodeGetNum(xmid, "node"); # for (i=0; i