Old 23-03-2006, 02:47   #1 (permalink)
deweydesigns
Registered User
 
Join Date: Oct 2004
Posts: 16
list by xml from a text file

need some help quick..

need to make an xml file that will read a text file to get and make a list in an xhtml document. shouldn't b too difficult, but can't seem to find it on google anywhere
  Reply With Quote
Old 23-03-2006, 05:26   #2 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,555
Quote:
Originally Posted by deweydesigns
an xml file that will read a text file to get and make a list in an xhtml document

An XML file is static and cannot "read a text file".

You'll need to use an intermediary language, such as PHP, to read in your text file and convert it to XML, then traverse your XML and output it as your XHTML list.
  Reply With Quote
Old 23-03-2006, 05:36   #3 (permalink)
deweydesigns
Registered User
 
Join Date: Oct 2004
Posts: 16
ok, i may be thinking of this incorrectly then.

here's what i need to do.

i have example.htm that will have a list of names that can be individually clicked to open a seperate page. this can be a form selection box if necessary, but i think it would be simpler just using a list with links. the links would have to be generated.

it would be best if i could make a form for the 'client' to fill in a new name and corresponding link, and have those form results sent to the page with the actual list and links. php, i suppose.

so i guess i have 2 questions.

i need to know how to make the file read from a plain text file that the ciient can use and add any new entries to the list on the html page or how to submit this into a php page or something that would 'get' values from a form.

the other question would be how do i construct the links.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8