mabjustmab: (mucha JOB)
[personal profile] mabjustmab
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?

Date: 2009-09-01 06:54 pm (UTC)
From: [identity profile] asim.livejournal.com
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.

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

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

Date: 2009-09-01 09:56 pm (UTC)
From: [identity profile] jaaron.livejournal.com
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)

April 2017

S M T W T F S
      1
2 345678
9 101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 15th, 2025 04:27 pm
Powered by Dreamwidth Studios