I'm trying to utilize the setElementsAttrs and it's for the most part working as expected. However I have a variable number of Elements that need to have specific attributes that are unknown until after the array is created.
Basically what I need to do is
$array2xml->setElementsAttrs(array('group' => $group_attr, 'record' => $rec_attr[$i], 'meta' => $meta_attr[$i]));
where $i would be that specific element row.
I'm trying to utilize the setElementsAttrs and it's for the most part working as expected. However I have a variable number of Elements that need to have specific attributes that are unknown until after the array is created.
Basically what I need to do is
$array2xml->setElementsAttrs(array('group' => $group_attr, 'record' => $rec_attr[$i], 'meta' => $meta_attr[$i]));
where $i would be that specific element row.