*/
protected void loadExternalLibrary(Element externalLibraryElement, String sName)
{
XMLMetadataHelper.verifyRootElement(externalLibraryElement, "ExternalLibrary");
final ExternalLibrary externalLibrary = new ExternalLibrary(sName);
externalLibrary.setMetadata(m_metadata);
XMLUtil.withFirstChildElement(externalLibraryElement, "Files", false, new ElementHandler()
{
public void handleElement(Element filesElement)
{
XMLUtil.forEachChildElement(filesElement, "File", new ElementHandler()
{
public void handleElement(Element fileElement)
{
externalLibrary.addFile(XMLUtil.getReqStringAttr(fileElement, "name"));
}
});
}
});