XML is the eXtensible Markup Language. It is a format that is easily parsed by computers, but is also readable by programmers.

learn more… | top users | synonyms

0
votes
1answer
375 views

YAML: translating free-flowing text from XML

I'm studying YAML as a replacement for XML, but I'm experiencing difficulties when dealing with elements containing free-flowing text with embedded elements. For instance, the following XML document: ...
3
votes
1answer
325 views

Alternative to XML / XSLT for artifact generation?

The scenario: A system needs to produce a variety of artifacts to present to end-users during the normal course of business. Examples of these artifacts would be permits, invoices, or receipts -- ...
2
votes
2answers
1k views

Using XSLT for messaging instead of marshalling/unmarshalling Java message objects

So far I have been using either handmade or generated (e.g. JAXB) Java objects as 'carriers' for messages in message processing software such as protocol converters. This often leads to tedious ...
3
votes
1answer
203 views

How to render RSS feed in a desktop RSS reader?

Consider one feed like this: http://feeds.feedburner.com/codinghorror It has the entire content inside the description tag of the feed, so you don't need to access the website to read the post. Now ...
1
vote
1answer
545 views

Optimize strategies for xml parsing?

I am looking for general optimization tips and guidelines for xml parsing. One of the optimization strategies is of course selecting the "right" parser. A detailed comparison between the available ...
0
votes
2answers
494 views

Save match details to SQLite or XML? [duplicate]

Possible Duplicate: XML vs SQL for small projects? I'm making a (conceptual) system to simulate any kind of sports match (like soccer,basketball,etc) with actions (for example ...
5
votes
1answer
404 views

Conditional attribute in XML - most concise solution?

I am tasked with setting up conditional profiling - a method of tagging chunks of XML with an attribute, which will then be used as a conditional value to extract subset of that XML. Have a look at ...
1
vote
1answer
364 views

Javascript: Safely upload a client data file

I'm (still) working on a template-based XML editing program. It's a GUI-based XML editor that only allows users to add certain tags and attributes based off the requirements. You can see the current ...
7
votes
2answers
3k views

What's the difference between a marshaller and a serializer?

...and unmarshalling/deserializing? Wikipedia's explanation leaves me none-the-wiser! I'm a Java programmer, in case the terminology is used differently in different languages.
0
votes
1answer
199 views

Text Classification Implementation

I've been trying to implement a text classification system. It needs to read a text file, and extract the words and the word frequency. So far, I've been planning to parse the words, put them in a ...
0
votes
2answers
188 views

Persistent Storage format for (update+read)-intensive data

I am developing a Java application. While using the application, data would be generated that needs to be stored on disk. I am looking for an embedded database appropriate for a average use-case of ...
0
votes
2answers
602 views

Common test cases for XML schema validator

I just wrote my first SAX-based (Java) XML schema validator, where you pass it a schema URL (pointing to the .xsd file), and an XML instance, and it determines whether or not that instance is valid or ...
2
votes
1answer
590 views

Java Application for handling records(CRUD)

I am new to JavaEE and am faced with a tight situation here. I have to develop a Java application for (CRUD) handling records and saving and loading an XML concerning that record. Obviously, I won't ...
2
votes
2answers
89 views

Standard way of allowing general XML data

I'm writing a data gathering and reporting application that takes XML files as input, which will then be read, processed, and stored in a strongly-typed database. For example, an XML file for a "Job" ...
-3
votes
3answers
834 views

XML: Multiple roots + text content outside the root. Does anyone do it?

I have another one of those "is it done in XML" questions (my last one about xml comments hasn't been answered if anyone has a good explanation) I was just wondering if anyone, anywhere would: Use ...
2
votes
5answers
4k views

An XML file or Database?

I am re-writing a section of my site and am trying to decide how much of a rewrite this will be. At the moment I have a web service feed that generates an xml once per day. I then use this xml file on ...
4
votes
2answers
875 views

Storing data for use on Android and Windows Applications

I posted this last night on StackOverflow and was advised to move it over to StackExchange, thank you for taking a moment to look at my question. I'm developing a project proposal for my final year ...
2
votes
5answers
2k views

Should I use a unit testing framework to validate XML documents?

From http://www.w3.org/XML/Schema: [XML Schemas] provide a means for defining the structure, content and semantics of XML documents. I'm using an XML Schema (XSD) to validate several large XML ...
2
votes
2answers
266 views

How often are comments used in XML documents?

I'm currently developing a web-based XML managing program for a client (though I may 'market' it for future clients). Currently, it reads an XML document, converts it into manageable Javascript ...
1
vote
4answers
2k views

How do I speed up XML parsing operation?

I currently have a php script set up to do some xml parsing. Sometimes the script is set as an on page include and other times it is accessed via an ajax call. The problem is the load time for this ...
5
votes
1answer
420 views

Are XML Schemas bad for constantly evolving file formats?

I'm struggling with a client-server project where I have Java apps out on the Internet that store data to a backend server. The format of this data is well-defined, but the project is constantly ...
1
vote
1answer
106 views

How to prevent corrupting an hierarchical XML tree?

We have an XML tree which stores the relationship between folders and video files. So each folder could be the artists name and below it we have the videos of the artist. Also each folder can have ...
3
votes
2answers
181 views

How to do locking and not use a database?

I have a project which involves re-writing pretty much all the back end of a legacy application. It uses XML for persistence and was originally written as a single user system. With one large XML ...
2
votes
2answers
99 views

How should XML subtree manipulation be handled in a public API?

I'm working on an API whereby a specific call would replace a subtree of an XML document—rooted at some element—with another subtree. The two options I'm considering for a response to this call are: ...
4
votes
5answers
2k views

What programming language to choose for this XML and data processing task? [closed]

I currently code in PHP. Recently I've been working on a project using PHP and Symfony that: reads large XML files (lots of DOM parsing/reading), converts large XML files to large arrays, merges 2 ...
2
votes
7answers
1k views

Is it possible to write application-level logic in an XML or plain text format?

For example, a system where the developer does not need to write source code any more, instead they can using XML or some defined text to construct the application-level logic.
5
votes
5answers
2k views

Version control programs for XML-files - merge/diff tool

My programming environment / language (gamemaker) gives the source files as "XML-files". Each resource has its own XML file. Where the properties (code is a property) are stored inside xml tags. Is ...
1
vote
2answers
741 views

are there any tools to convert general purpose XML to HTML? [closed]

I don't know how to say... The XIB is using xml to store the UIElement information, similar to .Net GUI. Is there any open source stuff also convert the xml file to a html layout?
10
votes
3answers
7k views

Why do we need URIs for XML namespaces?

I am trying to figure out why we need URIs for XML namespaces and I cannot find a purpose for that. Can anyone brighten me a little showing their use on a concrete example? EDIT: Ok so for ...
5
votes
1answer
807 views

Would this be a good web application architecture?

My problem Our MVC based framework does not allow us to cache only part of our output. Ideally we want to cache all static and semi-static parts, and run dynamic parts. In addition, we need to ...
1
vote
5answers
3k views

Is using xml + xsl to create a weekly html email a good or bad idea?

The guy who is in charge of our html emails is leaving and I have been asked to take over. We are an online retailer and send out an email once a week. An email will consist of a main image, a bit of ...
2
votes
4answers
185 views

XML or HTML for User Manual/Help and Why?

I want to make User Manual/Help to my program. I found two good ways - XML or HTML - which should I use and why? I know how to do it in html (I know how to use js, css and such) but in XML it's ...
2
votes
2answers
4k views

Fastest C++ XML parsing library

I have thousands of .xml files from size 1MB-45MB (no DTDs). I need to parse and further manipulate these XML files before generating separate .xml files with the results of my regex. What the ...
6
votes
3answers
788 views

Purpose of ending tags in SGML/HTML/XML?

There are those tags which have immediate effect (< br >) and those which affect what is between them ( < a > < / a > ). Closing tag is verbose, and I believe also redundant: <tag ...
4
votes
3answers
309 views

Is it possible to combine XPath and CSS selectors?

Just came through XPath. I got curious about this. Why is there a different way to select tags in XPath and CSS(selectors). Why cant there be a common way in both XPath and CSS?
6
votes
3answers
717 views

C++ XML Parsing: Suggestions on Approach for Parsing and Storing data

I am looking into developing a C++ application to parse xml (using the rapidxml framework), and I would like some advice on how to approach this. The file I want to parse is a XML game file that ...
6
votes
2answers
551 views

How should I organize the words of a sentence for better outputs/maintenance and performance?

Having this sentence (consider many sentences in the future) David Henderson Houston patented the first roll film for cameras in 1881. I can make questions like 1. Who patented the roll film? ...
1
vote
1answer
100 views

Loading XML File [closed]

I'm using xml to store cross-program information. This information is used in some webpages and in C# programs. When the information is altered, these alterations are not displayed right away in the ...
1
vote
3answers
542 views

Designing an easily extensible XML driven OOP system

I've been working on a project that is very data-driven (a checkers board game with customizable rules; I'm using XML for the data storage). I need a design that is easy to extend as we add new ...
-1
votes
3answers
214 views

What should I be using to store data in a legacy web development project? [closed]

I'm currently working on a project that uses a Webserver running in Windows CE 6.0. Since this server only supports classic ASP (i.e, no PHP, ASP.NET, etc.)/ I plan to use XML as the database. Is ...
59
votes
12answers
9k views

Can we replace XML with JSON entirely? [closed]

I'm sure lots of developers are familiar with XML and JSON, and they've used both of them. Thus no point in explaining what they are, and what is their purpose, even in brief. If we try to map their ...
1
vote
2answers
1k views

Which database to prefer while developing a WPF medical inventory system?

I have a project to develop an inventory system for a medical shop. Till date, I confronted simple requirements which were fulfilled with XML as the backend db. My interaction knowledge with XML is ...
9
votes
3answers
2k views

XML vs SQL for small projects?

I'm working on a small project which will only have one user at a time since it's a local application (developed in WPF and C#). To store data I was thinking of using an XML file but I'm wondering if ...
6
votes
3answers
4k views

Is there a simple, flat, XML-based query-able data storage solution? [closed]

I have been in long pursuit of an XML-based query-able data store, and despite continued searches and evaluations, I have yet to find a solution that meets the my needs, which include: Data is ...
5
votes
2answers
412 views

What's an expat XML parser?

I found the term here: https://developer.mozilla.org/en/Mozilla_Web_Developer_FAQ I know what a XML parser is. I can't understand; what exactly is an expat XML parser?
12
votes
3answers
11k views

Relation and differences between SGML, XML, HTML and XHTML

I was wondering what "profile" means in Wikipedia: XML is a profile of an ISO standard SGML, and most of XML comes from SGML unchanged. According to ...
3
votes
2answers
156 views

What constitutes competency in XML in the .NET world?

I see a lot of .NET job postings that list XML as a required skill. What should one be able to do in/with XML to have confidence that this requirement is satisfied? Modeling? Work with XPATH? ...
2
votes
3answers
1k views

Python template engines: What are the real benifits and drawbacks to XML vs custom syntax

I'm interested in knowing what are the real difference (benefits and drawbacks) between the two types of python templating engines; XML (like Genshi or Kid) and a custom syntax (like Cheetah or ...
4
votes
5answers
418 views

Is XML required for this?

I am writing a desktop application in Java, which has all of the Airband radio frequencies for the UK in it. I would like to make this frequency database downloadable so people can print it. Would it ...
17
votes
7answers
1k views

Why is XML not called EML?

From Wikipedia Extensible Markup Language (XML) is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification[4] produced by the W3C, and several ...