use an <item> field when serializing a table to xml

This commit is contained in:
2023-02-27 00:29:51 +01:00
parent cf377204a9
commit dee48ea2b5
2 changed files with 6 additions and 5 deletions

View File

@@ -125,13 +125,13 @@ void XMLExpression::esc(const pt::Space & space, pt::TextStream & stream, const
void XMLExpression::put_value_list_opening_index(size_t index, const FT & field_type)
{
(*out_stream) << L"<_" << index << L">";
(*out_stream) << L"<item index=\"" << index << L"\">";
}
void XMLExpression::put_value_list_closing_index(size_t index, const FT & field_type)
{
(*out_stream) << L"</_" << index << L">";
(*out_stream) << L"</item>";
}