This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Cookie and XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Cookie and XSLT" Watch "Cookie and XSLT" New topic

Cookie and XSLT

David Neff

Joined: Aug 01, 2006
Posts: 1
Is it possible to create a cookie in XSLT? I am very new to XSLT and would greatly appreciate any help.
Thanks a lot.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
Cookies in the usual (web browser) sense are generally set by headers in a web service response. You can use XSLT to create the body of a web page but not the headers.
You could use the XSLT to create JavaScript that runs when the page is loaded and sets a cookie, but that is getting pretty complicated.
jQuery in Action, 2nd edition
subject: Cookie and XSLT
Similar Threads
converting xml to html
how to get the data stored in xml into html
converting xml to html
Is Javaranch RSS Enabled?
Web Services -based integration approach