This is the print out from the variable $baseTypeDerivedDataTypeRefModel
and is as far as I’ve got with getting the value I need. I need to extract the value int16, int64 etc from the SimpleXMLObject I’ve used $baseTypeDerivedDataTypeRefModel[0]
and
$baseTypeDerivedDataTypeRefModel->getName()
and a bunch of other stuff and cant get it to work, I know its probably something simple but its driving me crazy!
SimpleXMLElement Object ( [int16] => SimpleXMLElement Object ( [range] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) [ranges] => SimpleXMLElement Object ( [subrange] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) ) [multiplicationFactor] => 2 [resolution] => 2 ) )
SimpleXMLElement Object ( [int64] => SimpleXMLElement Object ( [range] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) [ranges] => SimpleXMLElement Object ( [subrange] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) ) [multiplicationFactor] => 2 [resolution] => 2 ) )
SimpleXMLElement Object ( [int16] => SimpleXMLElement Object ( [range] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) [ranges] => SimpleXMLElement Object ( [subrange] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) ) [multiplicationFactor] => 2 [resolution] => 2 ) )
SimpleXMLElement Object ( [uint8] => SimpleXMLElement Object ( ) )
SimpleXMLElement Object ( [int16] => SimpleXMLElement Object ( [range] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) [ranges] => SimpleXMLElement Object ( [subrange] => SimpleXMLElement Object ( [min] => 1 [max] => 10 ) ) [multiplicationFactor] => 2 [resolution] => 2 ) )
SimpleXMLElement Object ( [string] => SimpleXMLElement Object ( ) )