vlc | branch: master | Filip Roséen <[email protected]> | Thu Jul 28 06:49:34 2016 +0200| [d97b2ad3a86a10714f8f4ea39f373f256c280f05] | committer: Pierre Ynard
lua/doc: add documentation for reader:node_empty (vlc.xml) Signed-off-by: Pierre Ynard <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d97b2ad3a86a10714f8f4ea39f373f256c280f05 --- share/lua/README.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/lua/README.txt b/share/lua/README.txt index ebe44a3..d3e8c66 100644 --- a/share/lua/README.txt +++ b/share/lua/README.txt @@ -451,5 +451,8 @@ reader:read(): read some data, return -1 on error, 0 on EOF, 1 on start of XML reader:name(): name of the element reader:value(): value of the element reader:next_attr(): next attribute of the element +reader:node_empty(): queries whether the previous invocation of reader:read() + refers to an empty node ("<tag/>"). Returns a value less than 0 on error, + 1 if the node is empty, and 0 if it is not. The simplexml module can also be used to parse XML documents easily. _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
