|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Reading Cookies During XSL Transformation (proble
The document.cookie property returns a string of all cookie values. If
two cookie existed, let's say cookie's 'A' and 'B', then the cookie
string would read something like 'A=Result; B=AnotherResult' I haven't
bothered to cut the returned string up yet, because I can't read the
cookie data at all during the XSL transformation.
The official MSXSL error reads as follows: Microsoft JScript runtime error 'document' is undefined line = 5, col = 6 (line is offset from the start of the script block). Error returned from property or method call. Note that 'document' is undefined. Doh! However, your idea of manually returning the result was brilliant though Jim. There have been a few issues in the XSLT list pertaining to type casting problems with JavaScript and XSLT. You just shot that problem down in flames with a quick suggestion. (grin). Well done. jfuller@xxxxxxxxxxxxxx wrote: ok....I am not a javascript expert dont u need to return something ? for example......
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








