Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Help PhP and XML !!

From: David Dorward <dorward@-----.--->
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent