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

learn more… | top users | synonyms

1
vote
0answers
17 views

Java XML parsing

I am attempting to create XML forms using user input to populate certain areas that would appear when loaded into a STIG viewer. Right now everything is working enough for me to create this and have ...
-1
votes
0answers
14 views
1
vote
1answer
24 views

Reading XML files and finding pairs between the files

I read three files and parse a few individual fields from each row of the XML. Using these fields, I find the dictionaries that contain the same keys (ItemK and either SensorK for sensors or PointK ...
3
votes
2answers
54 views

Extracting an XML config file from ZIP file and parsing it

I am currently working with an app that should load various info on a very specific zip file which contains the XML config file, using the DotNetZip library on C#, here's the code: ...
5
votes
3answers
312 views

Fetching, adding, and viewing games

This is a simple application that will eventually manage certain files for video games. For now, I'm only posting code that handles fetching, adding, and viewing games. I'm trying to keep things ...
4
votes
3answers
100 views

Python script to delete sections of text

I've been writing a python script to help me clear up some files that contain outdated code, while also serving as a way to learn python. These files have sections of code surrounded with tags on ...
1
vote
1answer
23 views

WebService --> XML Cache Repository

I'm working on a small application that uses a WebService to get meta-data about television episodes. What I'd like to do is start building out a local cache of the series so that I can reduce the ...
0
votes
0answers
27 views

Select field in an XML column where both XML and Table contain multiple matches/rows

I'm hoping to select all rows from a table, where one of the columns is an XML column. Within that XML column, I then want to run an xpath which returns multiple results, and to have my result set ...
1
vote
1answer
61 views

Deserializing multiple elements from XElement [closed]

I'm serializing multiple elements using this code: ...
5
votes
3answers
231 views

Stock control system

I have programmed this simple Stock Control System using JavaFX for GUI and PostgreSQL for a database. Please go through my code and point out flaws, inefficiencies, and better ways of doing things. ...
0
votes
0answers
12 views

XSLT to recurse web server and build sitemap.xml

Code runs and produces valid sitemaps. Questions in the code comments. ...
0
votes
0answers
13 views

Xml file attributes merge

To merge the attributes of two xml files I have written the following script. It works perfect but I feel like some improvements could be made especially for the part where the 'looping' is done. This ...
7
votes
1answer
151 views

Converting partial XML (Node List) to a String

I have a need to extract a part of XML tree (everything under root) and convert it to a string. (The result string will be later pasted inside ...
2
votes
2answers
28 views

Merging tags in two XML files with same attributes and different content

From time to time I translate some Android apps: the developer sends me an XML file, e.g. ...
13
votes
2answers
191 views

Learning by translating - Follow the Rubberduck - Part 2: Beta

This project is my learning place for a few things: MVP (model view presenter) XML (parsing, editing and leveraging) deeper swing functionality Concerning the XML part I have already recieved a ...
2
votes
2answers
47 views

Encypt xml file with aes and storing on disk

Ok so i have written some code to encrypt xml and then store it on the disk. I want to be sure that the encryption code is secure so here is the code. ...
1
vote
0answers
30 views

XML/HTML batch generator

As part of an exercise I've written some code to generate multiple HTML files based on information stored in a couple of XML files. I'm not really sure how much code you'd need to evaluate my function ...
2
votes
1answer
70 views

Custom TCP / XML messaging in C++

I am interested in hearing views on this new Module I am adding to an existing system to handle sale items from a 3rd party Software system. This system sends (XML) messages to our system, we need to ...
3
votes
1answer
77 views

Opening an XML File and Returning the XmlDocument

I'm working on my first Windows Forms tool for a project; this is my first time using C# extensively. Right now, my only objective is to be able to open an XML file and have the resulting XML in hand. ...
4
votes
0answers
61 views

Android XML parser to parse themes

I used XML to control the theme of an InputMethod for Android. A theme in XML contains the color and the shape of keys. XML file ...
2
votes
2answers
133 views

Parsing an XML file and creating an object with multiple properties from the XML

This question contains some C# code I've written as well as a XML format I have designed. My C# code runs a series of "jobs" by loading the XML file and then calling different SQL stored procedures ...
2
votes
1answer
83 views

Reading XML files from RSS of different websites in PHP

I've created a working XML RSS reader. I wanted to know if it's a good one or not and if it's efficient for the server or not. I run this code every 12 hours or something give or take the amount of ...
3
votes
1answer
88 views

Storing user settings using LINQ to XML

I want to store some user settings into a file, so that the users get the same experience on all machines they're working on. The built-in user.config turned out to ...
2
votes
3answers
441 views

XML serialization helper class

Yesterday was JSON serialization, today is XML serialization. I've taken some of the suggestions from there and made modifications, as well as making other modifications that were not suggested but ...
4
votes
2answers
81 views

XML/HTML Read/Write

I am developing a .Net application that involves reading data from XML and writing to HTML. The methods to do these tasks are all in the same class as the data they read/write are properties of ...
2
votes
1answer
53 views

Retrieving Assembly without DLL

Here is my code to retrieve a class from a different solution (both solutions are in the same folder) using an XML file: ...
2
votes
2answers
43 views

Merging two XMLs together in Python

I have these two XMLs that I want to merge together based on these conditions: If any of the element is more than 7 weeks old, it has to be deleted. If any of the element is newer with the same date ...
3
votes
1answer
135 views

Populate tree from 3 different data sources and show its content

The task is to build a WinForm app which populates a tree from 3 different data sources and shows its content. 1 ComboBox at top - to choose datasource. (File ...
3
votes
1answer
78 views

XSL template for converting XML to JSON

I used saxon v9 to profile an XSL transformation which converts XML to JSON. The profiler tells me that the function which escapes certain characters takes about 70% of the total processing time. The ...
7
votes
2answers
124 views

Parse and write data from/to a xml file

I recently started to learn Python for the purpose of making my life as a network engineer easier when performing repetitive tasks. The script below does parse a huge inventory.xml file I get from a ...
3
votes
1answer
40 views

cURL GET requests recieving XML data

First of all, I would like to know if there is any difference (execution-time) in C between: GET request made by using cURL GET request make by using sockets (BSD sockets) Second, I've done a C ...
4
votes
1answer
126 views

XML parsing in Java using SAX parser

I have started learning XML parsing in Java (currently reading Java & XML by Brett McLaughlin). Here is my first program to parse XML using SAX parser. Please review the code and let me know if ...
7
votes
1answer
68 views

Python XML parsing, extraction and renaming files

I've written some code to: Parse an XML file. Extract some strings. Make copies of the original XML whose names are suffixed with the extracted strings. Please review this. ...
4
votes
2answers
146 views

Wordy LINQ for XML word list

This code works as intended, however, I am sure that there is a way to condense the xmldataLoad method. If someone could maybe explain a better approach than what I ...
17
votes
3answers
205 views

Translating the Rubberduck - Übersetzen der Gummiente - Part 1: Modelling

So I have committed to making a German translation for the guys over at Rubberduck, which is localized via .resx files. Now these files are basically XML-Files with a certain, rather simple document ...
2
votes
1answer
42 views

Pull data from database to generate XML files

I have the following script in Perl that does the following: Prompts user for time in epoch. If user enters '########', the query will look for all reports generated after that date/time. If user ...
1
vote
2answers
81 views

AES-encrypted key store

I am writing a program that needs to retain specific data but that should not be easily readable. I am in no way very skilled in crypto but I wrote this class that takes all of the data in and then ...
7
votes
4answers
189 views

iTunes playlist copier

When you own an Android device and want your iTunes playlist to be copied over onto it, what do you do? What if your playlist hits something in the region of 20GB+ ? Well, I am sure I could've paid ...
0
votes
2answers
62 views

Checking multiple XML in PHP

I am working on a code to see if a video already exists. The problem is that I have to check multiple sections. The code is working but it should not be this big, I think, and it takes a long time to ...
2
votes
0answers
139 views

XML to JTree app needs Model/View/Controller refactoring

I'm developing a JavaSE-1.7 Swing application that displays XML files as a JTree. This will be the base for further work, e.g. filtering nodes. My questions, as a ...
2
votes
2answers
56 views

Generating random XML documents

I'm trying to generate a fresh XML file using Perl XML::Mini::Document. It's working fine, but I don't know whether it's the right way to do it. Performance is the ...
3
votes
1answer
106 views

Parsing large CSV in Perl

I am getting Out of Memory errors when I try to parse through a large CSV file (2.5Gb). My computer has 32Gb of Memory but Perl uses all of it up. The CSV has 2 ...
3
votes
1answer
128 views

XML parsing program in C++

This is my code which works and compiles but I feel it may be non-optimal, especially the tag mapping and use of the if command. It reads two .xml files and finds ...
3
votes
1answer
88 views

Find change in XML and print node

This code has been developed with help on Stack Overflow. It is designed to compare two XML files and print the node for any differences (i.e if a entry appears in A.xml and not B.xml and vice versa). ...
4
votes
2answers
308 views

Checking the difference between old and new XML

I have two xml files, about 500mb each, an old and a new. I want to find out what items have been added or removed in the new.xml compared with the old.xml. I had some help on this code and I'm a bit ...
3
votes
2answers
86 views

Simple medical collection/database about patients visits

I am writing a system for doctors who are regularly visited by patients. The doctor adds each patient's visit to collection/database. The class can save data to an .xml file and restore it. Can you ...
1
vote
1answer
86 views

Python XML - extracting information

I am very new to Python, and also this is my first time trying to parse XML. I am interested in information within str elements. I can identify that information ...
6
votes
1answer
529 views

Android Compass

I have made my first app in Android Studio. I made a compass using a sensor-listener. I would greatly appreciate if someone could review my code (it is very short), and suggest improvements. My ...
5
votes
3answers
597 views

Complex search program

I am working on a fairly complex (at least it feels complex to me at the moment) search program and am looking to possibly increase the performance. Everything works exactly how I want it to, but I'm ...