Content method will not be called for empty or node having child elements