[Home] [By Thread] [By Date] [Recent Entries]
XSLT is a transformation language to transform one format into another.
HTTP headers are part of a network protocol and not part of a data
format. However, in HTML it is custom to add HTTP header information
into the <head> section using <meta> tags.
If you mean that you want the XSLT to have access to the HTTP information than the answer is no, it cannot be done. If you mean you want to extract the header information and add it to your XML input files prior to transformation than it is something you'll have to sort out with Cocoon and then XSLT can do it easily. Alternatively, you can pass the HTTP information as parameters to the XSLT transformation and inside XSLT you have to declare them as global parameters. How you can pass them on with Cocoon, I do not know. Cheers, -- Abel Braaksma Zulfikar Dholkawala wrote: Hi all, Just wondering would it be possible to extract information from HTTP headers (like network information) using XSLT?
|

Cart



