473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how do you apply header refresh on XSL

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
1 2973
<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Phil Powell | last post by:
I created a page that will be doing image resizing and manipulation, which seems to work (using GD library). However, upon returning to the page where the image has been changed, I still see the...
1
by: Charles Soto | last post by:
I've got a main loop script that calls two other scripts that do no user interaction. All they do is send a couple of mysql update statements. Then they use header() to call the main loop again. ...
3
by: John | last post by:
I would like to know how I can automatically call other scripts if I have to first display a message. The reason is I would like to display a message for about 30 seconds then automatically call...
11
by: Tom Post | last post by:
I am doing a simple php header refresh -- header('refresh: 10; url=msgs.php'); that just does a call back to my script every 10 seconds. Things work great when the page is first loaded up, but if...
11
by: pinbot | last post by:
As far as I know, http headers should not work after content has been written. This is how my production box is working, but for some reason on my dev box I was getting away with a location header...
4
by: esmith2112 | last post by:
Having a bear of a time trying to implement replication under 8.2 environment. I've created all of the control structures on both source and target database and can actually see data being staged...
1
by: abdul bari | last post by:
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...
0
by: mdb_1974 | last post by:
Hello I tried to do an initial full refresh but I failed - nothing happens (no error at all). Apply works without errors. Details of my environment: I have the following replication scenario:...
19
by: Justin | last post by:
Harlow... i need some help on these... im actually trying to do a page using php... the function is to receive certain parameters from a 3rd party provider... and i need to redirect my page to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.