## clear() {#default} Removes all elements from the collection. ```js clear() ``` ### Examples Shows how to work with an XML Schema collection. ```js let doc = new aw.Document(); let xmlPartId = `{......Shows how to work with an XML schema collection. ```js let doc =...// Add an XML schema association. xmlPart.schemas.add("http://www...