hpcc-systems/HPCC-Platform — Issue #1382: xml attributes not output in nested record
Author: afishbeck
Created: 2012-01-30 22:52:20+00:00
State: open

xrec := record
string a1 { xpath('@a1')};
string s {xpath('s')};
end;

y := record
xrec x{xpath('X');}
end;

When outputting xml, attributes inside nested records will not be output.

The above will output <root><x>
value
</x></root>