By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 1,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

how do you apply header refresh on XSL

P: n/a
Hi I was wondering how you apply header referesh to an XSl sheet. I
want the generated html page to refresh. The following code doesnt
work.

<head>
<title>sample</title>
<xsl:attribute name ="http-equiv">Refresh</xsl:attribute>
<xsl:attribute name ="content">5</xsl:attribute>
</head>

The generated html out still has http-equiv set to Content-Type.

Thanks
abz
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
<head>
<title>sample</title>
<meta>
<xsl:attribute name ="http-equiv">refresh</xsl:attribute>
<xsl:attribute name ="content">5</xsl:attribute>
</meta>
</head>

if you dont want the meta content-type added automatically, specify
<xsl:output method="xml" /> in your transform.

r.

"abdul bari" <ah******@yahoo.com> wrote in message
news:1a**************************@posting.google.c om...
Hi I was wondering how you apply header referesh to an XSl sheet. I
want the generated html page to refresh. The following code doesnt
work.

<head>
<title>sample</title>
<xsl:attribute name ="http-equiv">Refresh</xsl:attribute>
<xsl:attribute name ="content">5</xsl:attribute>
</head>

The generated html out still has http-equiv set to Content-Type.

Thanks
abz

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.