use an <item> field when serializing a table to xml
This commit is contained in:
parent
cf377204a9
commit
dee48ea2b5
|
@ -24,6 +24,7 @@
|
|||
./main.o: ../src/select.h ../../pikotools/src/convert/text.h
|
||||
./main.o: ../src/flatexpression.h ../src/finder.h ../src/cursor.h
|
||||
./main.o: ../src/jsonexpression.h ../src/postgresqlexpression.h
|
||||
./main.o: ../src/jsonconnector.h ../src/postgresqlconnector.h
|
||||
./main.o: ../src/postgresqlqueryresult.h ../src/transaction.h person.h
|
||||
./main.o: language.h attachment.h type.h attachment2.h
|
||||
./main.o: ../src/xmlexpression.h ../src/jsonconnector.h
|
||||
./main.o: ../src/postgresqlconnector.h ../src/postgresqlqueryresult.h
|
||||
./main.o: ../src/xmlconnector.h ../src/transaction.h person.h language.h
|
||||
./main.o: attachment.h type.h attachment2.h
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue