I have a basic XML file which stores data as such...
(I have repaced the normal brackets with parenthesis so they will not be hidden in this message)...
(state1)
(name)whatever(/name)
(address)whatever(/address)
(phone)whatever(/phone)
(/state1)
(state1)
(name)whatever example2(/name)
(address)whatever example2(/address)
(phone)whatever example2(/phone)
(/state1)
(state2)
(name)whatever example2(/name)
(address)whatever example2(/address)
(phone)whatever example2(/phone)
(/state2)
and so on, describing the various locations of a vendor across the country. I would like to be able to view this as like a poor mans database. I know the basic for-each idea in xsl - and it would be perfect if I could make that dynamic somehow. Maybe using javascript or something, so an individual could click on "alabama" on a link or drop down menu and the xsl document would pick up xsl:for-each select="alabama" - that way i could use the XML document as a poor mans database,
any ideas on how this could be done? Im rediculously desparate
thank you
russ jones
rjones@email.unc.edu
(I have repaced the normal brackets with parenthesis so they will not be hidden in this message)...
(state1)
(name)whatever(/name)
(address)whatever(/address)
(phone)whatever(/phone)
(/state1)
(state1)
(name)whatever example2(/name)
(address)whatever example2(/address)
(phone)whatever example2(/phone)
(/state1)
(state2)
(name)whatever example2(/name)
(address)whatever example2(/address)
(phone)whatever example2(/phone)
(/state2)
and so on, describing the various locations of a vendor across the country. I would like to be able to view this as like a poor mans database. I know the basic for-each idea in xsl - and it would be perfect if I could make that dynamic somehow. Maybe using javascript or something, so an individual could click on "alabama" on a link or drop down menu and the xsl document would pick up xsl:for-each select="alabama" - that way i could use the XML document as a poor mans database,
any ideas on how this could be done? Im rediculously desparate
thank you
russ jones
rjones@email.unc.edu