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

6
votes
8answers
1k views

Should all new web projects build their backend based on xml/json result sets? [closed]

If you were building a new Saas project, would it make sense to start with all of the backend services returning xml/json? Because these days you need to build for both the web and mobile devices, ...
8
votes
11answers
15k views

Using XML as data storage

I was thinking about the XML format and the following quote: “XML is not a database. It was never meant to be a database. It is never going to be a database. Relational databases are proven ...
-2
votes
2answers
971 views

A good way of creating XML files at run time

Please stare at this structure for a second :) I should create such a thing all at run time. What are the values that we pass in at run time? the string values you see after "#" are passed in so ...
0
votes
1answer
340 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
306 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 ...
211
votes
15answers
22k views

How can a code editor effectively hint at code nesting level - without using indentation?

I've written an XML text editor that provides 2 view options for the same XML text, one indented (virtually), the other left-justified. The motivation for the left-justified view is to help users ...
3
votes
1answer
182 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
483 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
416 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 ...
1
vote
1answer
332 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 ...
-3
votes
3answers
658 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
2answers
262 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 ...
6
votes
2answers
2k 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.
2
votes
4answers
177 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 ...
0
votes
2answers
176 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 ...
4
votes
2answers
796 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 ...
0
votes
2answers
488 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
512 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
86 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" ...
2
votes
5answers
1k 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
3answers
527 views

What is meant by XML/XSLT/XPath and asynchoronous programming?

I understand that (1) XML/XSLT/XPath and (2) asynchoronous programming may not be related to one another. My questions are: When a C# developer job is advertised saying: "the following skill is ...
2
votes
7answers
768 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.
4
votes
1answer
364 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
179 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 ...
8
votes
6answers
9k views

When should I use the XML data type in SQL Server?

When should I use the XML data type in Microsoft SQL Server?
2
votes
2answers
98 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
1k 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 ...
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
659 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?
4
votes
2answers
382 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?
6
votes
3answers
597 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 ...
10
votes
3answers
5k 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
766 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
2k 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
2answers
3k 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
684 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 ...
6
votes
2answers
485 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
92 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
478 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 ...
3
votes
2answers
154 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? ...
8
votes
8answers
875 views

How would you feel if your code editor formatted your code for you as you typed, without tabs/spaces?

As with most things, I'm sure this concept has been tried before - I just haven't come across editors that use what I've termed 'Virtual Formatting'. The principle is that there's a floating ...
1
vote
2answers
865 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 ...
1
vote
4answers
6k views

What's the best way to logically compare two XML files?

I want to compare two XML files logically. That means that following text lines should be the same for the comparison tool: 1. <test><hello/><test/> 2. <test> ...
9
votes
3answers
9k 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 ...
4
votes
5answers
416 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 ...
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 ...
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 ...