Changeset 17546 for gsdl/trunk/runtime-src/src/oaiservr/metaformat.cpp
- Timestamp:
- 2008-10-15T17:25:25+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/src/oaiservr/metaformat.cpp
r15428 r17546 1 #include <fstream> 1 2 #include "metaformat.h" 3 #include "gsdltools.h" 2 4 #include "gsdlunicode.h" 3 #include <fstream>5 #include "recptprototools.h" 4 6 5 #include "recptprototools.h"6 7 7 8 metaformat::metaformat() … … 30 31 for (int item = 0; item < values.size(); ++item) { 31 32 if (this->oaiConfigure->getOAIVersion() >= 200) { // TODO: GRB: This code may need to be subclassed by dc for 200 and later... 32 output << outconvert << " <" << this->formatPrefix() << ":" << label << ">" << values[item]<< "</" << this->formatPrefix() << ":" << label << ">\n";33 output << outconvert << " <" << this->formatPrefix() << ":" << label << ">" << xml_safe(values[item]) << "</" << this->formatPrefix() << ":" << label << ">\n"; 33 34 } 34 35 else { 35 output << outconvert << " <" << label << ">" << values[item]<< "</" << label << ">\n";36 output << outconvert << " <" << label << ">" << xml_safe(values[item]) << "</" << label << ">\n"; 36 37 } 37 38 }
Note:
See TracChangeset
for help on using the changeset viewer.