I have some XML data that is constructed differently when the server detects a missing value
In the first and normal case my schema model defintion works fine
In the second case when the server sends missing=" ", the grid shows [object Object] instead of a null or blank value.
Is there a single specifier I can use for city: so that I get either #text or @missing ?
Thanks,
Richard
<STORES>
...
<CITY>Chattanooga</CITY>
...
</STORES>
<STORES>
...
<CITY missing=
" "
/>
...
</STORES>
In the first and normal case my schema model defintion works fine
model: {
fields: {
...
, city:
"CITY/text()"
...
}
}
In the second case when the server sends missing=" ", the grid shows [object Object] instead of a null or blank value.
Is there a single specifier I can use for city: so that I get either #text or @missing ?
Thanks,
Richard