docs: public static void updateXmlForVfsFile(CmsLink link, Element element) {
  
          // if element is not null
          if (element != null) {
              // update the type attribute
              updateAttribute(element, CmsLink.ATTRIBUTE_TYPE, link.getType().getNameForXml());
              // update the sub-elements
              updateXml(link, element, false);
          }
      }