* @see org.olat.core.gui.control.generic.textmarker.TextMarkerManager#saveToFile(org.olat.core.util.vfs.VFSLeaf,
* java.util.List)
*/
public void saveToFile(VFSLeaf textMarkerFile, List textMarkerList) {
DocumentFactory df = DocumentFactory.getInstance();
Document doc = df.createDocument();
// create root element with version information
Element root = df.createElement(XML_ROOT_ELEMENT);
root.addAttribute(XML_VERSION_ATTRIBUTE, String.valueOf(VERSION));
doc.setRootElement(root);
// add TextMarker elements