Skip to main content

Questions tagged [xml]

Extensible Markup Language (XML) is a structured document format that defines human- and machine-readable encoding rules.

6 votes
1 answer
359 views

I want to write a simple method in Java to convert XML to some user-friendly plain format (like YAML, etc.). Attributes, null, empty or zero values should not be taken into account. Also, documents ...
Tobias Grothe's user avatar
3 votes
2 answers
383 views

This script just opens a TCP server to listen for real-time position data from a FANUC robot to pass to another sensor software we are using (Luna Terahertz sensor). So far everything is working great,...
greer92's user avatar
  • 41
0 votes
1 answer
115 views

A friend of mine and me are running a modded DayZ server. One of the common tasks when adding mods that include new items is to update the server's types.xml file (example). My mate did this by hand ...
user avatar
2 votes
2 answers
170 views

I have this methods that take in a xml file and add XDeclaration for utf-8. I want to optimize the code because it need to ...
Jefferson's user avatar
  • 423
1 vote
1 answer
566 views

I'm getting an XML file from an application, want to extract some information from that file and write it to an Excel file. The XML file contains data about vacations. I need data from the last month ...
Jens Kubieziel's user avatar
0 votes
1 answer
141 views

few months back I did a code test for a company and I quickly managed to solve it within 5-10 minutes. But, I got rejected because it wasnt "good enough". What is good enough? they said its ...
Con101's user avatar
  • 3
1 vote
2 answers
110 views

This script takes a CSV of numbers and processes them to check to see if the numbers conform to the UK standard 11 digit numbers. Any errors are outputted to a log and the correct numbers sent to an ...
Blinkydamo's user avatar
2 votes
1 answer
169 views

There is a tree of start folder, it's subfolders, their subfolders, etc. In each folder, subfolder, etc. there are the same structured XML files stored. books.xml ...
erohtpur's user avatar
5 votes
1 answer
251 views

I am trying to write a utility for transforming xml trees using single pass and specifying node handlers. I used pugixml prior to this, and the library provides a ...
Sergey Kolesnik's user avatar
1 vote
1 answer
105 views

I have parse function which is parsing tree of categories. I've written it in simplest way possible and now struggling with refactoring it. Every nested loop is doing the same stuff but appending ...
Alex's user avatar
  • 21
4 votes
1 answer
1k views

I have this XML from a SOAP call: ...
Nick M's user avatar
  • 43
2 votes
0 answers
112 views

UPDATED - 25-12-2021 Summary: Renamed start.py --> bot.py Modified a lot of code in bot.py Modified code in sitemap.py Created init.py Check the update code in the bottom of this question. I have ...
sincorchetes's user avatar
0 votes
0 answers
1k views

This code needs to extract data from in XML file. Specifically it needs to iterate over it, looking for a node called CHARGE_CODES that repeats over and over and ...
gbasic's user avatar
  • 9
3 votes
1 answer
325 views

How are you doing? I have to make a script to parse an xml input file to a json file. I tried to do my best, but it will be nice if you could check it and help me to improve it. The idea is that I don'...
Patricio Cabo's user avatar
2 votes
1 answer
154 views

I am developing a system for runtime macro executions in an automatic test environment. Macros are defined in an xml and are for configuring multiple devices/DUTs for a specific use case. The xml ...
Cédric Moers's user avatar

15 30 50 per page
1
2 3 4 5
29