Get all open XML documents or all open XML Validation files.
list = xmlGetOpenDocs()
list, a list containing all the open documents or XML Validation files
This function is useful to delete open documents (and essentially to free the memory).
doc = xmlRead("http://www.w3.org/TR/2009/REC-xml-names-20091208/xml-names-10-3e.xml"); doc = xmlReadStr("<root><a att=""foo"" rib=""bar""><b>Hello</b></a></root>"); l = xmlGetOpenDocs() xmlDelete("all"); | ![]() | ![]() |
Version | Description |
5.4.0 | XML module introduced. |