mabjustmab: (mucha JOB)
mabjustmab ([personal profile] mabjustmab) wrote2009-09-01 02:39 pm
Entry tags:

web programers - Help!

I need help. I know what I want to do, but I don't know what language to use.

I want to have an html file call data from an xml file.
easy, right?

I want to be able to set an identifier for the field that I want, kind of like sql
(ex: select * where id="uniqueName")

there are about 200 names, and they each want a separate page.
I want to write one page, and copy it 200 times w/ 1 line different (the unique identifier)

suggestions?

[identity profile] asim.livejournal.com 2009-09-01 06:54 pm (UTC)(link)
You need at last Javascript. At the top of Google search for "XML Javascript" is this article (http://www.devarticles.com/c/a/JavaScript/JavaScript-and-XML/) from a book on Javascript that I have an earlier version of, and is very good.
XML is somewhat unintuitive, however. But that article gives you a start, and if you keep poking around on Google for similar terms, you'll likely get what you need.

[identity profile] mabjustmab.livejournal.com 2009-09-01 06:57 pm (UTC)(link)
Thanks!

I am also looking at XQuery, which seems to be like mySql for XML, which is basically what I'm looking for.

[identity profile] jaaron.livejournal.com 2009-09-01 09:56 pm (UTC)(link)
I'm not really familiar with XQuery, but from your description I would have said XSLT (http://www.w3schools.com/xsl/) + XPath (http://www.w3schools.com/XPath/default.asp) which are closely related (I think). (with the caveat that I am not in fact a web programmer)