Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Help PhP and XML !! >Thread Next - Re: Help PhP and XML !! Re: Help PhP and XML !!To: NULL Date: 7/5/2006 10:30:00 AM mkdirect@g... wrote: > I am having a real nightmare working with XML data. > > I have the following code in my site: > <input name="PhoneNo"> > <input type="submit" name="submit" value="Submit"> Your XHTML is invalid and not well-formed. Any XML parser is required to throw an error when dealing with it. > The form works great, and returns a page with an XML Tree full of > information but I cannot seem to work out how to capture the the XML > data format it and then display the sections that I need for the user. So when the form is submitted, the server returns some XML data? And you want to present that data to the user? That makes the code you've shown us largely irrelevant. The best option is likely to be to change your server side script so it returns HTML instead of XML. Otherwise you could look into client side XSLT (and there are no shortage of XSLT tutorials out there). -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
