| 94 | } |
| 95 | |
| 96 | ustring toUString( const XMLCh *const xml_str ) |
| 97 | { |
| 98 | ustring u_str; |
| 99 | if ( ( xml_str != nullptr ) && *xml_str ) |
| 100 | { |
| 101 | TranscodeToStr UTF8Transcoder( xml_str, "UTF-8" ); |
| 102 | u_str = ustring( reinterpret_cast<const char *>( UTF8Transcoder.str() ) ); |
| 103 | } |
| 104 | return ( u_str ); |
| 105 | } |
| 106 | |
| 107 | ustring lookupAttribute( const Attributes &attributes, const XMLCh *attribute_name ) |
| 108 | { |
no test coverage detected