View Full Version : Language Preference
river22_34
February 10th, 2008, 03:04 AM
Hi friends,
I am conducting a small survey on the choice of language many would use to process an XML document. Please feel free to cast your votes regarding this topic. Thank you.
LaRoza
February 10th, 2008, 03:05 AM
Process it for what and in what context?
(I have only used Python and ECMAScript with the DOM for processing XML)
river22_34
February 10th, 2008, 03:10 AM
Hi LaRoza,
Processing means displaying the XML document as a Web Page. Would you prefer Java or .Net. Bye!!!
LaRoza
February 10th, 2008, 03:10 AM
Hi LaRoza,
Processing means displaying the XML document as a Web Page. Would you prefer Java or .Net. Bye!!!
Java, out of those two.
river22_34
February 10th, 2008, 03:14 AM
Hi LaRoza,
Can you please vote for this option. Thank You.
ghostdog74
February 10th, 2008, 03:46 AM
what do you hope to achieve from this poll?
LaRoza
February 10th, 2008, 03:53 AM
what do you hope to achieve from this poll?
Not much, I didn't vote.
@OP If you want advice on what to use, then listen to the reasons for the choices. Java was simple, I don't do Microsoft. Don't value numbers over reason.
ghostdog74
February 10th, 2008, 04:10 AM
Not much, I didn't vote.
was referring to OP :)
@OP If you want advice on what to use, then listen to the reasons for the choices. Java was simple, I don't do Microsoft. Don't value numbers over reason.
I thought there's a polling station somewhere, where all kinds of polls go to?
popch
February 10th, 2008, 05:16 AM
I used XSLT. In one case, I stored the resulting HTML on the server, in another one, I let the client agent do the translation on the fly.
lnostdal
February 10th, 2008, 08:52 AM
i'd rather not use any of those "languages"(#1) for this task, but if i had to pick one it would have to be java
edit: i'd use common lisp and an xml lib.
#1: .net isn't a language tbh. ... it's more like this: .net == jvm .. c# == java
Compyx
February 10th, 2008, 08:59 AM
Useless poll, if you (OP) want advice on how to parse XML and perhaps in what language, just ask, don't start a 'poll' with only 2 answers (neither of which I'd choose).
For a quick and dirty approach I'd use Python, for a performance-critical approach I'd use C and expat.
aks44
February 10th, 2008, 09:02 AM
I mostly use C++ (Xerces library). Where's my poll option? :p
Majorix
February 10th, 2008, 10:49 AM
.NET has more the meaning of a language. When you say "I have developed this using .NET" you are most likely referring to either C# or VB.NET. Yes I know there are others too, but they aren't used as often. And yes, it's not known which language specifically you meant, like it wasn't clear with the OP.
You can use just any language to do XML processing. There should even be custom libraries for XML processing for many of the most common languages. Search your favorite custom library pages.
Out of those specified, I will vote for Java. And you most likely won't get too many people to vote for .NET (an M$ technology) on a Linux forum.
Shin_Gouki2501
February 10th, 2008, 10:57 AM
style sheet transformation as mentioned before would properly the best to transform XML to XHTML.
PuckStopper31
February 10th, 2008, 11:37 AM
As others have pointed out there are a number of ways not listed to transform xml into html. The question I have is more in the nature of what is the purpose of your inquiry. Are you trying to decide which platform to use or trying to provide substance to an argument that one should be used over the other? Or something else entirely?
It's not as simple as saying this platform or that platform and your terms are not exactly analogous.
Of the two I would more likely use Java, but a whole lot would depend on what I was trying to accomplish and what I had to work with and not just technology.
PS.
shawnhcorey
February 10th, 2008, 05:36 PM
Processing means displaying the XML document as a Web Page. Would you prefer Java or .Net.
I would prefer Firefox. It does a reasonable job.
BTW, you can link a CSS to an XML to get rid of all those nasty <>'s.
Wybiral
February 10th, 2008, 09:04 PM
"Processing means displaying the XML document as a Web Page.", what does this mean? I let the clients browser display the XML as a web page. I can use any language I want to generate that XML on the server... I don't understand your question.
For my XML needs, I would vote Python :)
yabbadabbadont
February 10th, 2008, 09:07 PM
Assembler. Definitely assembler.
slavik
February 10th, 2008, 09:54 PM
XML is text, text needs to be processed. I vote Perl (regex or the XML module, pick your poison). :)
river22_34
February 11th, 2008, 01:19 AM
what do you hope to achieve from this poll?
I just wanted to know which language is most preferable by programmers to display an XML document on a web page.
bharadwaj
February 11th, 2008, 01:32 AM
java of course we don't want windows and Gate's
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.