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

8
votes
8answers
890 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 ...
3
votes
1answer
247 views

What are the advantages of having a built-in datatype in a data interchange format over not having it?

Due to the requirement of a project we had to develop a data interchange format with a built in data types. The format served the purpose well in the scope of that project. But I was thinking that ...
1
vote
1answer
872 views

Ideal way to define a table or grid in XML?

HTML <table border="1" width="400"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> ...
6
votes
5answers
1k views

How to decide between storage formats and what are example use cases for some of them?

We have different ways to store program data (save files in games, employee databases, program configuration etc.): Plain text (think .ini and .conf) XML Databases (MySQL, SQLite...) .zip and ...
8
votes
6answers
3k views

Techniques for parsing XML

I've always found XML somewhat cumbersome to process. I'm not talking about implementing an XML parser: I'm talking about using an existing stream-based parser, like a SAX parser, which processes the ...
19
votes
13answers
6k views

If XML is so bad…why do so many people use it? [closed]

I understand the purpose of XML, but I always hear people complain about how BAD it is? I don't really understand whats so bad about it? I usually hear the terms "bloated" and "slow" tossed around. ...
7
votes
2answers
1k views

Shifting between XML schemas and C# classes in a sensible fashion

A .NET/C# system receives XML messages for processing and further transmission. Since working directly on XML documents would be very inconvenient, it is necessary to deserialize the message to a C# ...
3
votes
2answers
579 views

Best practice for validating XML messages

Two systems are communicating via XML messages on a message queue and any received message must be validated for structure, content and business logic before being processed. An XML schema offers ...
2
votes
3answers
2k views

c++ write own xml parser vs using tinyxml

I am currently in a task to generate an XML file for an srt text file containing timestamps and corresponding text. To generate an exe file which accepts file name input and outputs the relevant XML ...
4
votes
4answers
300 views

XML and Registry

Which method is considered to be best practice for setting storage for applications: XML or Registry? What are the benefits/downsides of using either of these?
8
votes
6answers
10k 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
4answers
326 views

Versioning millions of files with distributed SCM

I'm looking into the feasibility of using off-the-shelf distributed SCMs such as Git or Mercurial to manage millions of XML files. Each file would be a commercial transaction, such as a purchase ...
3
votes
7answers
236 views

XML in the attribute of other XML

Today, another developer was talking to me about how he addressed an issue he was working on. The solution he found was to stick a string of escaped XML into the attribute of another XML element. In ...
18
votes
12answers
5k views

What are the advantages of storing xml in a relational database?

I was poking around the AdventureWorks database today and I noticed that a number of tables (HumanResources.JobCandidate and Sales.Individual for example) have a column which is storing xml data. ...
4
votes
2answers
279 views

Good abbreviations for XML … things

I've never been very good at maintaining a coherent bunch of variable names for interfacing with XML files because I never name the variables in my interfaces the same way across my source. There are ...
0
votes
2answers
228 views

Looking for a large collection of XML files [closed]

Hey, I'm writing a program that I need to test with 1000s of XML files - any idea where I can get some?
3
votes
2answers
769 views

Guidance for Web XML Api's

I have to create an API for our application that is accessible over HTTP. I envision the API's responses to be simple XML documents. It won't be a REST API (not in the strict sense of REST). I am ...
0
votes
1answer
530 views

Accessing a Web Service: Learning Resource needed [closed]

I have been searching for resources to learn (Java) Web Services. Although I have found a lot of resources and tutorials on JWS, I am confused with the version numbers, the abbreviations and Metro. ...
2
votes
3answers
536 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 ...
0
votes
3answers
202 views

Optimizing XML based protocol

We have recently replaced binary based communication protocol with XML one (between browser based client and server). The implementation is almost complete, however I am looking for ways to improve ...
8
votes
9answers
3k views

How important is XML for a developer? [closed]

Is it must that every developer should know XML? How important is XML for a developer? Any suggestion...
2
votes
2answers
262 views

XQuery & XML databases

I decided to learn XML from a professional book instead of reading tutorials online, after some research i decided to read "Beginning XML, 4th Ed" book and it was very interesting book and i recommend ...
14
votes
2answers
1k views

What is the importance of XML in the world of JSON?

How important is it to learn XML when JSON is able to do almost all that I need? Having said that, I use JSON mainly for AJAX requests and obtaining data from various APIs. I am a total newbie to web ...