|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Urgent NEED HELP!!!convert Java script to xml
Hi bros,,,
sorry to bother you guys but i really need help in convert Java script to xml. Thank you,, 1)Convert java to XML if ((m == month && d == day) || (month == -1 && d == day) || (m == month && day == -1) || (month > -1 && day <= -1)) { resultDay = "DATE: D" + d +m" + m; processChildNodes(dateElement.getChildNodes()); } else return; 2) Convert java to XML <javaCode> <if> <condition> <condition> m == month & & d == day </condition> <condition> month == -1 & & d == day </condition> <condition> m == month & & day == -1 </condition> <condition> month > -1 & & day <= -1 </condition> </condition> <statement> resultDay = "DATE " + d + "M" + m;</statement> <statement> processChildNodes(dateElement.getChildNodes()); </statement> </if> <else> return; </else> </javaCode> |
|
#2
|
||||
|
||||
|
What exactly are you trying to achieve here?
__________________
Alex (http://www.alex-greg.com) |
|
#3
|
|||
|
|||
|
I am curious as well. What is happening here?
And a remark: You can write JScript or Javascript but it is not Java or Java Script. |
|
#4
|
||||
|
||||
|
Quote:
JScript and JavaScript are not one and the same either. You could write ECMAscript or ECMA-262 if you really want to get down to the point. ECMA (European Computer Manufacturers Association)script. JScript is the Microsoft version of this... and JavaScript is the Netscape version (via livescript). Java is the language created by Sun Microsystems, but is not related to JavaScript other than Netscape used the term Java because it was a buzz word. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Urgent NEED HELP!!!convert Java script to xml |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|