Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Help PhP and XML !! >Thread Next - Re: Help PhP and XML !! Re: Help PhP and XML !!To: NULL Date: 7/5/2006 2:31:00 PM Hi David, Thanks for your response. The code in the form is basic HTML and is submitted to a PHP page on my suppliers server. This page then generates and returns XML data which is what I am having trouble working with as I cannot seem to be able to capture the XML prior to it being displayed so that it could be formatted in to something meaningful for the user/viewer. Any suggestions would be really appreciated. PJ David Dorward wrote: > 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 | |||
|
