aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Cookie and XSLT" Watch "Cookie and XSLT" New topic
Author

Cookie and XSLT

David Neff
Greenhorn

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.
David
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
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.
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie and XSLT
 
Similar Threads
Web Services -based integration approach
converting xml to html
converting xml to html
Is Javaranch RSS Enabled?
how to get the data stored in xml into html