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
62 views

Database Password problem when using GIT to manage project that uses Spring to initiate Datasource

Program Situation I use Spring Framework to code my Web Service, using Dependency injection to inject a DataSource bean into the DAO bean that will be used by the Web Service. I have all the ...
0
votes
2answers
70 views

What approach to use to query multiple XML files?

I'll be receiving tens of thousands of XML files, which will continue to grow with new files over time. I need to be able to query these files as a whole (like SQL querying all the records in a ...
2
votes
3answers
60 views

Should custom data elements be stored as XML or database entries?

There are a ton of questions like this, but they are mostly very generalized, so I'd like to get some views on my specific usage. General: I'm building a new project on my own in Django. It's focus ...
0
votes
0answers
60 views

Appropriate design / technologies to handle dynamic string formatting?

recently I was tasked with implementing a way of adding support for versioning of hardware packet specifications to one of our libraries. First a bit of information about the project. We have a ...
-1
votes
1answer
66 views

Storing a looong lookup table

Background The product i am working on has a very long lookup-table. the table contains static data and cannot be auto generated. there are about 500 rows and 10 columns. columns have mostly integers ...
3
votes
2answers
120 views

Why do XML namespace URIs use the http scheme?

A XML namespace should be a URI, but it can use any URI scheme, including those that are not URLs. Then why do all widely used XML namespaces use the http scheme (e.g. ...
0
votes
0answers
75 views

Large invoice database structure and rendering

Our client has a MS SQL database that has 1 million customer invoice records in it. Using the database, our client wants its customers to be able to log into a frontend web site and then be able to ...
0
votes
1answer
88 views

Why XML is meant to be Software and Hardware independent?

While studying the features of XML, I got to know that XML is software and hardware independent. Can anyone explain me why it is meant like that?
1
vote
1answer
84 views

How to migrate an XML serialization framework in Java in a tightly coupled system?

I work for a company that uses XML for storing a bunch of serialized Java classes. The framework we use is Apache Betwixt (abandonded in 2008) and it's kind of pain to maintain and extend (it seemed ...
0
votes
0answers
42 views

Jenkins: .NET website XML transforms, but no .sln or build file

We're setting up Jenkins for CI and deployments. We have .NET website that isn't managed through visual studio. Its a Logi Analytics application, so we develop exclusively through LogiStudio. As ...
2
votes
1answer
134 views

How and when should I design a simple mark-up language parser? [closed]

I want to write a simple markup language with its rendering engine. First, I am not completely sure when I should try this... I am only 12... But I am competent in C++ having learned through the Web ...
1
vote
2answers
137 views

How do I reference an XSD within an XML file? [closed]

Every time I try and validate it says No DTD or XSD assigned to doc. Both files are local. XSD: <?xml version="1.0" encoding="utf-8"?> <xs:schema ...
-1
votes
1answer
70 views

Designing XML - confused between attributes and elements [closed]

I have to design an xml structure to set standard data exchange with my client. We deal with payments and its related data. At now, my XML data looks like this: <PAYMENTS> ...
1
vote
0answers
100 views

JSON or XML for parsing for Google Map API

Can someone help me to find a easy way to parse XML? I have an iOS 7 Application using Google Map API. I tried to learn this on my own. I try to create an application that uses Web Services like ...
1
vote
4answers
340 views

Why returning XML/JSON for API requests, can't we just directly process request and return the modified web page (HTML/CSS/JS)?

Let's say that a user requests for some piece of data. Usually the data is processed via a server and then returned in XML/JSON format. Im guessing another piece of processing happens to convert it ...
0
votes
2answers
163 views

Moving data between databases with XML

I just read this quote online: XML is a very useful technology for moving data between different databases or between databases and other programs. However, it is not itself a database. Which is ...
0
votes
1answer
114 views

Building an organization-specific XML editor in HTML

I'm building a user friendly XML editor in HTML/JS. Looking for some general advice on how to build the editor UI and which approach you'd recommend on mapping the data to the UI. Details about the ...
1
vote
1answer
70 views

Design: Mixed XML / Relational or Pure Relational?

Is it acceptable to model a very complex object graph using XML in the database, but leave the rest of a system in relational tables? I'd like to gauge opinion on this as I've hit a bit of a ...
0
votes
2answers
68 views

Naming convention for List in xsd schema

What is the best way to name a List in XSD schema? <xs:element name="CurrentEmployee" type="Employee" minOccurs="0" maxOccurs="unbounded" /> Currently I have a list of Current Employees as ...
6
votes
4answers
430 views

Which one to choose: XML attribute or Sub node?

We want to export some data from our data base as XML. For example, a Person can have age, name and some other properties. We have two choices to define the XML format. Choice #1: <Persons> ...
0
votes
0answers
53 views

Translate soap input of one web service into input of another

We need to support a legacy web service using a new web service implementation. At a given time the old input as well as new input should work. So here is what we need to achieve Old SOAP input ...
0
votes
0answers
160 views

Problem combining SlidingMenu and ExpandableListView

As said i'm trying to combine SlidingMenu (https://github.com/jfeinstein10/SlidingMenu) with an ExpandableListView, but i'm having an issue that i don't know how to fix, so i'm hoping some one here ...
0
votes
1answer
256 views

Create ASP.NET input forms from XSD?

I have several types of XML document. The format of (i.e. the elements in) each document type is defined in an XSD. Is there a convenient way to create HTML elements (or ASP.NET controls) on an ...
0
votes
1answer
204 views

WCF service to get an atom feed

I am very new to programming and my first task is to create a WCF service that will take an ATOM feed and expose it to my application. Now, I've read up on XML serialization and syndication but it ...
2
votes
3answers
201 views

What is a good use case for native XML databases? [closed]

What would be a good use case to use a native XML database such as Apache Xindice and eXist-db? I have used XML features of SQL Server in the past and they were of great value, but there it is ...
1
vote
1answer
81 views

Tree position terminology/naming

This is a naming things question. I am processing trees (XML documents), and there are often special rules applied to nodes based on structure. It's been very difficult coming up with concise naming ...
0
votes
2answers
629 views

Getting the relational table data into XML recursively

I have levels of tables (Level1, Level2, Level3, ...) For simplicity, we'll say I have 3 levels. The rows in the higher level tables are parents of lower level table rows. The relationship does not ...
1
vote
1answer
62 views

Canonical representation of a class object containing a list element in XML

I see that most implementations of JAX-RS represent a class object containing a list of elements as follows (assume a class House containing a list of People) <houses> <house> ...
6
votes
6answers
752 views

xml based programming languages

I was looking at wikipedia - Category:XML-based programming languages. Why would someone take this approach for designing a language? What are the advantages of it? I can only think of ...
1
vote
2answers
86 views

Suggestions designing an XML polling deamon in python

I'm about to take on a new project for a client designing a server-side python program that will poll a number of XML streams at regular intervals and populate a Postgresql database with results. The ...
1
vote
3answers
216 views

How do I support interfaces for different devices in the same input scenario?

I asked this question on SO but someone pointed out that I would be better off here. He's most likely right. So here I go! So I just wanted an opinion. I have 2 different ways to approach the ...
7
votes
5answers
2k views

XSLT and possible alternatives [closed]

I had a look at XSLT for transforming one XML file into another one (HTML, etc.). Now while I see that there are benefits to XSLT (being a standardized and used tool) I am reluctant for a couple of ...
0
votes
1answer
199 views

can I use XML for AJAX in a website created using HTML5

I am new to web programming and just started learning XML and AJAX. I am creating a social gaming website for my college project. I am confused at the point of using XML for AJAX in HTML5. As XHTML is ...
0
votes
1answer
112 views

Are there presently any standardized “grammar” rules for HTML & CSS?

Over the years I have assigned values to classes and html elements in all sorts of ways: myClass MyClass my_class my-class . . .and so on. As I am always trying to hone my craft and make my code ...
6
votes
1answer
399 views

Mapping variable inputs to user interface elements

Background Developing a system for creating eBooks. The data is highly normalized. The eBook designs are packaged as "themes." The themes can be configured with options for: fonts, colours, some ...
2
votes
3answers
400 views

What arguments can I use to justify the use of either XML or JSON to store and transmit object data?

My project lead considers both of these approaches to be unnecessary overhead. I have been involved in and have witnessed a lot of talk around XML vs JSON, but this is the first time that I have heard ...
1
vote
1answer
498 views

Working with Multiple XML Schema Classes in C#

I'm working with a data import process in C#, which takes a zip file filled with XML files and saves specific data points into a database. This is accomplished by loading the XML data into classes ...
3
votes
4answers
670 views

What would the general design for an XSD to C# class converter look like?

I am looking to create a simple code generator to convert XSD definitions to C# classes. This is partly as a learning exercise, but I would also like to get some practical use out of it eventually. ...
3
votes
3answers
550 views

Use of Abstract Syntax Notation (ASN.1)

The problem of Electronic Data Interchange over networks is well known and understood. Today, the most common formats for data interchange are things like XML and JSON. There are various pros and ...
3
votes
1answer
730 views

Why doesn't libxml2 support XPath 2.0?

Libxml2 is the faster, stable and most popular "open DOM engine"... And the "XML C parser and toolkit of Gnome". The initial release of Libxml2 was September 1999, 13 years ago. XPath v1.0 was also ...
4
votes
1answer
125 views

Writing map of data to XML according to a format which is user-defined

I need to write a map of string data to an XML document. The XML document has a specific format. An entry key determines where in the XML document the value will be written to. See below for an ...
1
vote
2answers
334 views

XML/HTML: Do we need the element name in closing tags?

Compared to other serialization languages, one of the main criticisms directed at XML is its verbosity; JSON's more terse and readable for most cases, but not all. But it seems to me that we could ...
1
vote
1answer
262 views

PHP Simplest XML tokenizer for string processing?

I need to do some text processing tasks with short XML fragments. The section "details" shows an example... My solution is to use a tokenizer based on regular expresions, but it is not elegant and not ...
0
votes
2answers
286 views

Starting android Development [closed]

I am considering learning android development. I have some basic knowledge in C++. I downloaded the ADT plugin and eclipse. Now while starting from http://developers.android.com I see the codes were ...
0
votes
1answer
523 views

JSON or XML for parsing for a Windows Store 8 applicaiton?

I am getting some data from Gov tracker (http://www.govtrack.us/developers/api) and creating a Windows 8 Store application.. I started out trying to use the HttpClient to get the JSON and then use ...
0
votes
1answer
143 views

Is there a standard for Error Codes?

I've created a gateway which receives a POST from cUrl on one system which is a well-formed XML string. After processing the gateway sends back a response XML. All the fields in the XML are required ...
0
votes
3answers
506 views

Namespaces, why are they necessary for prefixes?

So I've been reading about namespace on w3schools and I understand they are to uniquely identify an element. But what is the point of having namespaces if you have to have prefixes along side them. ...
0
votes
2answers
78 views

Where should the processing to structured XML be done?

I have been given the task of redeveloping an "in house" solution to make it expandable and easier to maintain and administer. The original solution had been hashed together over time using PHP as ...
0
votes
1answer
285 views

Benefits of using XML builder vs templating language like ERB?

I'm doing a lot of work with XML, our legacy XML generators use the ruby template language ERB to create the XML files. I've been experimenting with Nokogiri and the builder model of creating XML, but ...
9
votes
2answers
886 views

Why can't an xml comment contain two hyphens

I was applying markdown comments in the xml comments of a config file when the XmlParser reported that two hyphens (--) are not allowed in xml comments. Checking the XML Specification, it appears ...