Skip to main content

Questions tagged [xml]

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

3 votes
2 answers
307 views

Receive byte string (high speed position output) from FANUC robot, parse and append to dated .xml file

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
82 views

types.xml XML file merger

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 ...
Richard Neumann's user avatar
1 vote
2 answers
140 views

C# addXmlDefinition method

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
  • 353
1 vote
1 answer
519 views

Python script to read an XML file and write some information to an Excel file

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
99 views

Retrieve data from an XML file in Java

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
69 views

Parse give CSV of UK phone numbers, filter non-conforming numbers and output XML of correct numbers

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
139 views

Extracting authors and books from XML and inserting them into PostgreSQL

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
220 views

Traverse/transform (xml) tree

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
76 views

Parsing an XML tree of categories

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

Translate SOAP response into a CSV using Python

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

Bot gets data of sitemap, parses it and send message to Telegram channel

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 ...
sincorchetes's user avatar
1 vote
0 answers
1k views

Extract series of XML elements' values into an array

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
  • 11
3 votes
1 answer
291 views

Python script to parse XML file into Json

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
123 views

Is this a good design for runtime Macro execution?

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
1 vote
0 answers
105 views

Improving speed of parsing XML file

...
adb12's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
30