answersLogoWhite

0

It would be harder to describe the similarity between JavaScript and XML.

These two languages are for entirely different purposes.

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

How read xml file in java?

Java provides several XML Parsers like DOM, SAX or JDOM and API javax.xml.parsers by using those we can easily read xml files in Java. DOM is quickest and easiest way to read XMlL file in Java.


Which is better JavaScript and XML or PHP?

They all serve different purposes. JavaScript is run by the browser (client). Verifying that a form is correctly filled out before submitting is an example of a good use for Java script. PHP is run by the web server. Verifying that a form was correctly filled out after it has been submitted and then doing something useful with the information in the form is a good use for PHP. XML is a markup language used to describe (mark up) data. You can use all three. For example, if I want to make a search box that pops up a list of possible completions for what I'm typing into it, I would use JavaScript to pop up the box. The java script would also load the possible completions from XML, and the XML would be generated by PHP, which would generate the XML based on past searches in a database. Nobody can decide, which is better java script and XML or php because they all are very useful for web programming. And they all use for different -2 types and purposes.


What is Java Support Systems?

Java support system includes: · Applets · Servlets · Java Beans · EJB · JSP · XML · SOAP · CORBA


How you can implement an online quiz using java script?

Yes, although the script is rather long. Try the quiz in the related links section, which looks quite good. It uses AJAX (Asynchronous Javascript And XML) and PHP.Quizzes with AJAX look impressive because the page doesn't have to reload. The content changes dynamically.


What is the difference between Jar and Ear and War files?

JAR files (Java ARchive) allows aggregating many files into one, it is usually used to hold Java classes in a library. i.e. Math.jarWAR files (Web Application aRchive) stores XML, java classes, and JavaServer pages for Web Application purposes.EAR files (Enterprise ARchive) combines JAR and WAR files to make a combined archive for Enterprise Applications.

Related Questions

What is the Explanation and abbreviation for Ajax?

Asynchronous java script and xml


What programming language is GOOGLE developed in Cgiperl?

Asynchronous java-script and XML, or its acronym Ajax.


Features of five free RDBMS software?

ado.net java script XML SQ L Apache.net


What is the difference between xslt and xml?

XML is a language used to store data. XSLT is a language which is used to transform XML into other XML.


How read xml file in java?

Java provides several XML Parsers like DOM, SAX or JDOM and API javax.xml.parsers by using those we can easily read xml files in Java. DOM is quickest and easiest way to read XMlL file in Java.


What has the author Elliotte Rusty Harold written?

Elliotte Rusty Harold has written: 'Java Network Programming' 'Java Developer's Resource' -- subject(s): Java (Computer program language) 'Effective XML' -- subject(s): XML (Document markup language) 'XML 1.1 Bible' -- subject(s): OverDrive, Computer Technology, Nonfiction 'Java Network Programming (Java Series (O'Reilly & Associates).)' 'Java I/O' -- subject(s): Java (Computer program language), Programmation (Informatique), Java (Langage de programmation), Ein-Ausgabe, Java , Programmierung 'Processing XML with Java' -- subject(s): Java (Computer program language), XML (Document markup language) 'XML in a Nutshell' 'Java I/O' -- subject(s): Java (Computer program language)


What is difference between XML property and XML dimension?

The xml property returns the XML of a node and its descendants.Dimension is a type used for a variety of purposes for defining values


Which is better JavaScript and XML or PHP?

They all serve different purposes. JavaScript is run by the browser (client). Verifying that a form is correctly filled out before submitting is an example of a good use for Java script. PHP is run by the web server. Verifying that a form was correctly filled out after it has been submitted and then doing something useful with the information in the form is a good use for PHP. XML is a markup language used to describe (mark up) data. You can use all three. For example, if I want to make a search box that pops up a list of possible completions for what I'm typing into it, I would use JavaScript to pop up the box. The java script would also load the possible completions from XML, and the XML would be generated by PHP, which would generate the XML based on past searches in a database. Nobody can decide, which is better java script and XML or php because they all are very useful for web programming. And they all use for different -2 types and purposes.


What are the advantage of XML over java?

XML is a data formatting standard. Java is a programming language. They are completely different tools used to solve completely different problems.


What is Java Support Systems?

Java support system includes: · Applets · Servlets · Java Beans · EJB · JSP · XML · SOAP · CORBA


Where can one find more information about JAVA xml?

One can find more information JAVA xml from websites like MK Yong, Vogella, Developer Fusion, NTU, Seas, Tutorials Point, Java World, Cafe Conleche and JCP.


What is the difference between a well formed XML document and a Valid XML document?

Well-formed XML means that the XML is correct (it has only one root node, and all elements match an end element tag)Valid XML means that the XML can be validated to an XML Schema or DTD, and that all the tags in the XML are also in the Schema or DTD, and in the right place.


What is difference between binary file and Excel file?

When referring to Excel 2007, there are two file types you can use when you save a file, XML and binary. If you save the file as binary, then there is no difference between the two. If you save the file as XML, then the XML file contains XML formatting data (explanation beyond the scope of this question) and the binary file is formatted for computers to read directly.


What are the differences between htmlxmlsgml and xhtml?

basikly xhtml is a mics of html and xml. the difference in html and xhtml is that xhtml is a more strict on the syntax and defined as a xml document. xml is a self defined language... in short it is a strikter html in xml format...


How you can implement an online quiz using java script?

Yes, although the script is rather long. Try the quiz in the related links section, which looks quite good. It uses AJAX (Asynchronous Javascript And XML) and PHP.Quizzes with AJAX look impressive because the page doesn't have to reload. The content changes dynamically.


How do you parse very large XML feeds into MySQL with PHP?

You will use an xml parser like simple xml. If you will focus on timeout/connection time out in curl and script time out in php is set to 0(no limit) it will help.


Where can one find more information on getting an XML tutorial?

IBM and Oracle both offer an XML tutorial. These can be found online on their websites. The XML site offers many useful articles, tackling a variety of issues, such as how to run XML code in java and upgrading the program.


What does JAXB stand for?

Java Architecture for XML Binding. See related link for more details.


Where can one download free web authoring software?

HTML Kit is a free software package for editing several web languages. Komodo Edit is from Active State and is an excellent XML editor. First Page is a good program when working with Java script.


What is difference between XML and valid xml?

You can compare this with English usage. I can say to you, "Jeet yet?" and you would probably understand me to mean, "Did you eat yet?" One of these sentences is valid English, the other is questionable. In the same way you can write valid XML and you can write XML with numerous imperfections. Many XML language processors are capable of understanding both. However, it's safer to write valid XML.