- Jun 6, 2020
- 11,517
- 4,383
I am trying to parse xliff which is a kind of xml for localization.
There will be elements like:
I use xmlsax to parse it and I cannot get the first text part "Styles like " in the _EndElement event.
The result using xml2map:
B4X:
I try to use jsoup to parse it and it has the right result:
B4X:
Is xmlsax wrapped correctly? I prefer to use xml2map which parses xml to map.
There will be elements like:
<g id="1">Styles like <g id="2">bold</g> is supported.</g>
I use xmlsax to parse it and I cannot get the first text part "Styles like " in the _EndElement event.
The result using xml2map:
B4X:
(MyMap) {g={Attributes={id=1}, g={Attributes={id=2}, Text=bold}}}
I try to use jsoup to parse it and it has the right result:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید