Changeset 127
- Timestamp:
- 06/20/08 13:29:35 (17 years ago)
- Location:
- bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/userinfo.cpp
r122 r127 19 19 20 20 // get a serializer, an instance of DOMWriter (the "LS" stands for load-save). 21 pImplementation = DOMImplementationRegistry::getDOMImplementation( L"LS");21 pImplementation = DOMImplementationRegistry::getDOMImplementation( XMLString::transcode( "LS" )); 22 22 23 23 pSerializer = ( (DOMImplementationLS*)pImplementation )->createDOMWriter(); 24 24 // set user specified end of line sequence and output encoding 25 pSerializer->setNewLine( L"\n");25 pSerializer->setNewLine( XMLString::transcode( "\n" ) ); 26 26 // optionally, set the format-pretty-print feature 27 27 if (pSerializer->canSetFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true)) -
bdm/userinfo.h
r122 r127 199 199 XMLString::release( &transcodedFileName ); 200 200 201 DOMDocument* pDoc = XMLConnector.pImplementation->createDocument( L"M3K USER INFO", L"ROOT", NULL ); 201 DOMDocument* pDoc = XMLConnector.pImplementation->createDocument( 202 XMLString::transcode( "M3K USER INFO" ), 203 XMLString::transcode( "ROOT" ), NULL ); 202 204 DOMElement *pRoot = pDoc->getDocumentElement(); 203 205