Suggestions on developement of XPATH validator

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Suggestions on developement of XPATH validator

Post by raghavan20 »

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.
marianopeterson
Forum Newbie
Posts: 5
Joined: Wed Oct 12, 2005 4:22 pm
Location: San Francisco

Post by marianopeterson »

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.
Post Reply