method
delete_all
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
delete_all( xpath )
public
Removes multiple elements. Filters for Element children, regardless of XPath matching.
xpath |
all elements matching this String path are removed. |
Returns |
an Array of Elements that have been removed |
doc = Document.new ā<a><c/><c/><c/><c/>ā deleted = doc.elements.delete_all āa/cā #-> [<c/>, <c/>, <c/>, <c/>]