equal
deleted
inserted
replaced
126 } else { |
126 } else { |
127 if (isPrependingInputAttributes()) copyInputAttributesToOutput(); |
127 if (isPrependingInputAttributes()) copyInputAttributesToOutput(); |
128 for (auto oa : currentRelationConfiguration->outputAttributes) currentWriterMetadata.push_back({oa.name, oa.type}); |
128 for (auto oa : currentRelationConfiguration->outputAttributes) currentWriterMetadata.push_back({oa.name, oa.type}); |
129 if (isAppendingInputAttributes()) copyInputAttributesToOutput(); |
129 if (isAppendingInputAttributes()) copyInputAttributesToOutput(); |
130 |
130 |
131 // TODO: prepare DOM |
|
132 dom.get_document()->create_root_node("relpipe-tr-xpath"); |
131 dom.get_document()->create_root_node("relpipe-tr-xpath"); |
|
132 dom.get_document()->get_root_node()->add_child("relation-name")->add_child_text(s2x(name)); |
133 resetRecordElement(); |
133 resetRecordElement(); |
134 } |
134 } |
135 |
135 |
136 relationalWriter->startRelation(name, currentWriterMetadata, true); |
136 relationalWriter->startRelation(name, currentWriterMetadata, true); |
137 } |
137 } |