Array in xml file
Improve this answer. Quasdunk Quasdunk Hi, Thanks but the main problem in my function is here There is a condition if! So, How can this possible??? You can edit your post and add the code of the simpleXMLToArray function and tell what exactly you are tyring to achieve why would you need to check the type? So if it's true, you return NOT True, which is false. It works fine for me: codepad. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Ask Question. Asked 8 years ago. Active 4 years, 5 months ago. Viewed 25k times. Can someone show me the most effective way to do this? John M. Improve this question. Erazihel 6, 5 5 gold badges 27 27 silver badges 51 51 bronze badges.
Have you tried xstream? You could also use Java's serialization for this purpose, though the resulting file won't be an XML i. This question is too broad. An ArrayList of what? What XML schema? Njol I will be in the Java Application when I access this file, I need to store virtual bank account users into a file, and then be able to re-read them back into the program when they have a matching pin number and username Njol I certainly do not have to use XML, someone in my previous post told me that it was the better way to go If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.
Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid. Related Questions. How to write string array from SQLite database to xml format string? How to convert string to array with Python? How to write a string 'a.
Returning an array as a string without the brackets and commas. Input string was not in a correct format. How to write xml string. Is it possible to encode byte array into readable string in case of XLSX format?
How to write string array to a file. Layout: fixed fluid. Web02 2. Strip HTML. Encode HTML.
0コメント