Questions tagged [simple-xml-converter]
35 questions
1
vote
1 answer
How to parse this xml to java object (Retrofit2+SimpleXML)? (PersistenceException error)
my Retrofit call failed with error :
org.simpleframework.xml.core.PersistenceException: Element 'item' is already used with @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=false, name=item, required=false, type=void) on…

margie
- 431
- 4
- 7
0
votes
1 answer
Simple XML Mutiple Array
I am trying to convert that xml to Java POJO but having some issues
/betting/odds:259249033
fanduel
…

Hasan Mumin
- 23
- 1
- 4
0
votes
1 answer
Problem with SimpleXML Converter - PersistenceException
I try to parse the xml I got from there https://www.w3schools.com/xml/simple.xml with XML SimpleXML Converter and I get an exception
org.simpleframework.xml.core.PersistenceException: Constructor not matched for class…

MihaelKrau
- 31
- 1
0
votes
1 answer
Android Retrofit + SimpleXMLConverter in Kotlin
I'm trying to get Retrofit and the SimpleXmlConverter working on my Kotlin Android project (I've only used json before, for obvious reasons), and keep running into various errors. Right now the error is "Unable to satisfy...ElementList... on method…

user1795832
- 2,080
- 8
- 29
- 50
0
votes
5 answers
Save XML file to TXT in java
I retrieved my needful data from XML tags.
I used relative packages in this regard.
Now I want to save the result in a .txt file but I don't know how to use FileWriter in my code?
I tried several times but I got a blank text file without the printed…

Sara Mirabi
- 11
- 3
0
votes
1 answer
De serialize html escape characters using simple xml converter in retrofit android
How can we deserialize html escape characters in inner tags of xml of a response body to be saved in POJO classes using simple xml converter in retrofit android?
…

Vineeth Kuttipurath kottayodan
- 115
- 1
- 8
0
votes
1 answer
XML transformation using XSLT by grouping the tags based on some value
I am trying to transform one XML by creating a new tag by grouping the tags. like group the items which are having same parent value.
-
10
…

Sree
- 25
- 1
- 6
0
votes
0 answers
RetroFit, SimpleXMLConverter
I am using Retrofit with simpleXMLConverter to get data out of an xml and use it in my android application. However, I am unable to bind the value of a certain tag on my value in my class. In my situation, I'm trying to bind the mtc:gas_type to my…
0
votes
1 answer
SimpleXMLConverter and Retrofit 2.30. Why serialization crashes with ValueRequiredException?
In Android app I'm working with pipeline Retrofit + SimpleXmlConverter to send XMl post requests get XML responses:
@Provides
@AuthorizationScope
Retrofit provideAuthorizationRetrofit(@Named("BASE_CRM_URL") String baseUrl,
…

AlexF
- 387
- 1
- 4
- 20
0
votes
5 answers
Get key and value from an array of SimpleXMLElement object
I have an array structure like this (output by print_r(array)):
SimpleXMLElement Object (
[items] => Array (
[0] => SimpleXMLElement Object (
[walson] => 986
[john] => 01
[merry] => 234 )
…

AWinx
- 11
- 1
- 3
0
votes
0 answers
How to use Retrofit and SimpleXML parsing an XML file from a site?
I am working on a project but But I can not parsing tag img and div

Daniyal
- 1
- 1
0
votes
0 answers
How to make response class for a specific list (in xml )
Newbie to Android and developing an app where using XML parsing with the retrofit.
I have completed all the process and done the task except one.
I don't know how to create the POJO class for the "hours_of_operations" tag in below XML.
A sample code…

DEV
- 1
- 4
0
votes
1 answer
Convert custom model to XML string with SimpleXmlConverter or by any other library?
I'm working with Retrofit2 and SimpleXmlConverter to call the APIs. The request and response is based on the XML data. I need to send XML string with tags in the request body.
By using SimpleXmlConverter, I can easily parse XML response into my…

Mohit Chauhan
- 455
- 1
- 10
- 20
0
votes
1 answer
XMLStreamException: ParseError at [row,col]:[1,1] ; only whitespace content allowed before start tag and not [
I've been trying and searching but can't seem to find a solution. I have this xml content:
…

Mysterious Girl
- 268
- 4
- 9
0
votes
0 answers
Android Retrofit + SimpleXmlConverter with Empty entity
I'm trying to request Restful api data from retrofit, with SimpleXmlConverter.
But I got this error.
org.simpleframework.xml.core.ConstructorException: Parameter 'comMsgHeader' does not have a match in class …

박현기
- 71
- 3