I am thinking of developing a XPATH validator.
I am wondering which is the best language that would be suitable for the purpose, Javascript or PHP?
I want to make sure that the programming should have enough XML libraries for easy access.
I have used a few XML functions available in PHP for parsing XML files.
I think in Javascript we have to use DOM.
Any comments regarding the above is welcome.
Suggestions on developement of XPATH validator
Moderator: General Moderators
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
-
marianopeterson
- Forum Newbie
- Posts: 5
- Joined: Wed Oct 12, 2005 4:22 pm
- Location: San Francisco
Depends on your target usage. If your goal is to use it with your data access code, then it probably belongs in PHP (server side code). If you're planning to use it for DHTML manipulation or AJAX, then it should be written in JavaScript (client side code).
BTW, JavaScript (JScript) is used for server side code when authoring ASP pages. This being a PHP forum, I expect your JavaScript code will be use for client side scripting.
BTW, JavaScript (JScript) is used for server side code when authoring ASP pages. This being a PHP forum, I expect your JavaScript code will be use for client side scripting.