Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Can i use XSL for redirection >Thread Next - Re: Can i use XSL for redirection Re: Can i use XSL for redirectionTo: NULL Date: 5/2/2005 8:08:00 PM dhiren.bhatt@d... wrote: > I have a ASP page which processes the XML Feed to an HTML output using > an XSL. I need to add a feature of redirection to this if there are NO > results in the XML. Is this possible? If I understand you correctly then you are using ASP to read in some XML into an MSXML DOM document so you could use DOM scripting to check whether there are any results in the XML and if not you could use ASP to redirect the client. I don't think you can generate a redirect with XSLT as redirection is a HTTP response header while XSLT creates a HTTP response body. If you really want to do it with XSLT then as you create HTML output you could generate a HTML meta element that redirects. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
