xsl-list
[Top] [All Lists]

RE: Getting a difinitive answer on XSL & Cookies

2004-10-21 06:37:55
Hi,

I know that this question may have been done to death on many 
different 
levels, but I was hoping I could get a definitive answer on this 
question, so here goes...

Question:
Can cookie data be read anywhere in an XSL stylesheet during 
transformation? If so, how?

With an extension, custom URIResolver, or by passing it in as a parameter.
 
Additional:
I know that errors can occur from JavaScript due to typecast 
problems, 
so would using VBScript in its place be of any use? I'm using 

Didn't JavaScript have a try-catch statement?

the MSXSL 
parser, so this isn't a problem. Also, i've figured out how 
to run the 
VBScript during transformation using "msxsl:script" correctly; my 
current problem comes from not being able to access the 
"document.cookie" during transformation to obtain the cookie 
data. This 
is of course because the document hasn't been generated yet, 
but can the 
cookie data be accessed another way?

If you can read it in your script, pass it in as a parameter.

Cheers,

Jarno - Das Ich: Destillat (VNV Nation remix)


<Prev in Thread] Current Thread [Next in Thread>