R
In the cell phone code$arSelect = Array("ID", "IBLOCK_ID", "NAME", "CODE", ....., "DATE_ACTIVE_FROM","PROPERTY_*");
$arFilter = Array("IBLOCK_ID"=>$ваш_id_инфоблока, "ACTIVE_DATE"=>"Y", "ACTIVE"=>"Y");
$res = CIBlockElement::GetList(
Array("SORT"=>"ASC"),
$arFilter,
false,
Array(),
$arSelect
);
while($ob = $res->GetNextElement())
{
$arFields[] = $ob->GetFields();
$arProps[] = $ob->GetProperties();
}
In a mass of $arSelect, except for a sample of your parameters, it should be "PROPERTY_*" or "PROPERTY_BRAND."And somehow I don't put the DISPLAY./*$brand_value=$arResult["PROPERTIES"]["BRAND"]["VALUE"];*/
The cycle should beforeach ($arProps as $val) {
$strTmpOff.= "<vendor>".$val["BRAND"]["VALUE"]."</vendor>\n";
}