The xml tag has no wiki summary.
1
vote
1answer
41 views
Create Directed Acyclic Graph (DAG) from XML-Tree
I've written a program that creates the (minimal unique) directed acyclic graph from the tree structure of an XML-document. The program prints a Bplex-Grammar to cout. I'm interested in all kinds of ...
0
votes
0answers
40 views
XML to JavaScript library design
I created a small library to parse xml to javascript. Can anyone tell me if the design is correct for a library? or if there is a better technique.
I wrote a small Usecase example here.
...
0
votes
1answer
74 views
Manipulate XML files in c#
I just finished my working code, but still want to improve it.
I want to transform this input:
<item>asdf</item>
<item>asdf</item>
<item>asdf</item>
to this ...
0
votes
3answers
104 views
[JAVA]Parse an XML file using objects / methods
So I spent a while this morning creating an xml parser in java which is part of a job interview. I would love to have some people tear it apart so I can learn from any mistakes that I made so I can ...
1
vote
1answer
24 views
Using Choose and Apply Templates with Mode, vs Complexless Template Matches
So I have a little XML (Sub)language,
it has 3 elements of interest: para, point, and code
If a code occurs inside a para, point element I want to handle it for inline use,
if not, i want to set it ...
1
vote
2answers
93 views
Help fix up my Python XML Schema parsing code
I've been working on a lightweight xml schema parser, and have what I think is a moderately clean solution (some parts helped out by previous questions I posted here) so far for obtaining all schema ...
2
votes
1answer
70 views
Converting NameValue pair entity to XML
I have the following code, to store a web service name value pair response into DB. I am saving it in xml column of DB. Kindly highlight the issues with this approach. Please note that the name value ...
3
votes
1answer
70 views
Convert elementtree to dict
Just needed a quick way to convert an elementtree element to a dict. I don't care if attributes/elements clash in name, nor namespaces. The XML files are small enough. If an element has multiple ...
2
votes
1answer
106 views
Please review my XML Schema for an XML representation of CSV
Please review my XML Schema for an XML representation of CSV. This is intended to be part of a generalised solution to the problem of converting any (with some minor restrictions) CSV content into ...
0
votes
1answer
190 views
vb.net code to load XML and csv files to datatables at startup
Here is some code that I put together for an app I am working on that loads 2 xml files and a large csv file to a dataset at startup. It runs fairly fast, but I would like a second opinion on what I ...
1
vote
1answer
58 views
XSLT making a flat file
Ok source XML (since I haven't bothered with a schema):
<?xml version="1.0"?>
<ContactDetails>
<Names>
<FullName>
Nicholas Example
</FullName>
<AltName ...
0
votes
2answers
178 views
load config file from xml
After my qeustion on stackoverflow, I've wrote code that should create Config class from xml file. Xml loading is mixed with structures declaration and break in a lot of small piecies however i'm not ...
1
vote
1answer
175 views
Parsing XML - Did I do this efficiently?
So I need to receive an XML post then process all the data, and do whatever I need to do with the data. I could be receiving anywhere from 60 to 100 values. I know what all the elements are going to ...
2
votes
1answer
66 views
I'm trying to escape some xml to be used with SOAP
I'm attempting to escape ampersands from a string before passing to PHPs SimpleXMLElement->addChild() for use with some soap webservices, but I don't want to double escape them. I'm getting these ...
0
votes
1answer
41 views
Refactoring xpath input desgin
I want to design API which could handle XPATH input from user.
Currently i have model the XPATH input in following way,
public interface ICondition {
String getConditionString();
}
public class ...