我从http请求得到了这个结果QString,我需要做的是只提取标签内的字符串“一致”
"TranslatedText>一致</TranslatedText>"
这个怎么做?
<GetTranslationsResponse xmlns="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<From>en</From>
<Translations>
<TranslationMatch>
<Count>0</Count>
<MatchDegree>100</MatchDegree>
<MatchedOriginalText/>
<Rating>5</Rating>
<TranslatedText>一致</TranslatedText>
</TranslationMatch>
</Translations>