formatting POSTed XML

KhanyBoy

Usenet Archive
Joined
Jun 1, 2004
Messages
1
Reaction score
0
hi,

I send an XML text form item to a web service vendor who replies with XML - so this XML fills all the browser and replaces the previous page that was there.

Question: Is there any way I can format that XML (with XSL) before the browser renders it?

Thanks
 

Martin Honnen

Usenet Archive
Joined
Apr 8, 2000
Messages
6,174
Reaction score
0
KhanyBoy wrote:

I send an XML text form item to a web service vendor who replies with XML - so this XML fills all the browser and replaces the previous page that was there.

Question: Is there any way I can format that XML (with XSL) before the browser renders it?

Not all browsers support client-side XSLT so the best approach is to put (on your server) a layer between the client and the web service that receives the XML from the web service and transforms it with XSLT to HTML that is then sent to the browser. ASP can do that, PHP with the right extension, or JSP or other server side languages like Perl.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top