[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to extract HTTP Headers information using XSLT
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?
|
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
|