protected void deleteContentValue(CmsXmlContent content, Locale locale, String path) {

        boolean hasValue = content.hasValue(path, locale);
        if (hasValue) {
            int index = CmsXmlUtils.getXpathIndexInt(path) - 1;
            I_CmsXmlContentValue val = content.getValue(path, locale);
            if (index >= val.getMinOccurs()) {
                content.removeValue(path, locale, index);
            } else {
                val.setStringValue(m_cms, "");
            }
        }
    }
protected void deleteContentValue ( CmsXmlContent content , Locale locale , String path ) { boolean hasValue = content . hasValue ( path , locale ) ; if ( hasValue ) { int index = CmsXmlUtils . getXpathIndexInt ( path ) - 1 ; I_CmsXmlContentValue val = content . getValue ( path , locale ) ; if ( index >= val . getMinOccurs ( ) ) { content . removeValue ( path , locale , index ) ; } else { val . setStringValue ( m_cms , "" ) ; } } }
Deletes the given value path from the content document.<p>

@param content the content document
@param locale the content locale
@param path the value XPath