
December 20th, 2003, 11:35 PM
|
 |
Junior Member
|
|
Join Date: Dec 2003
Location: Australia['WA']
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
XSL: Setting a cookie with `http-equiv="Set-Cookie"'
Is it possible to set a cookie in an XSL document with `http-equiv="Set-Cookie"'?
I've searched google for documentation on this, yet found nothing. Below is an XSL file I've used to test the code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Set-Cookie" content="hiddencookie=1;expires=0; path=/" />
</head>
<body>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Is this code erroneous, or is the aforementioned meta entity not supported?
|