12 #if defined __cplusplus
38 if( strcmp(
"axes", XMLChild->
name ) == 0 ) {
40 else if( strcmp(
"region", XMLChild->
name ) == 0 ) {
45 "invalid element '%s' in xData 'regionsXYs'", XMLChild->
name );
63 xDataXML_element *XMLChild, *interpolationAxesElement = NULL, *dataElement = NULL;
65 char const *sInterpolation;
72 if( strcmp(
"interpolationAxes", XMLChild->
name ) == 0 ) {
73 if( interpolationAxesElement != NULL ) {
75 "multiple %s elements in element 'region'", XMLChild->
name );
78 interpolationAxesElement = XMLChild; }
79 else if( strcmp(
"data", XMLChild->
name ) == 0 ) {
80 if( dataElement != NULL ) {
82 "multiple %s elements in element 'region'", XMLChild->
name );
85 dataElement = XMLChild; }
88 "invalid element '%s' in element 'region'", XMLChild->
name );
92 if( interpolationAxesElement == NULL ) {
94 "missing 'interpolationAxes' element in element 'region'" );
99 "missing attribute 'interpolation'" );
103 if( dataElement == NULL ) {
105 "missing 'data' element in element 'region'" );
122 return(
xDataXML_XYsDataToTOM( smr, XE, XYs, index, length, 0., accuracy,
xDataTOM_subAxesType_intepolationAxes, 0, axes, interpolation ) );
125 #if defined __cplusplus