Ashx handler brings the userlocation say country and region........right now I am hardcoding my value in the xsl param so that in the xslt logic if there is a match in countrycode render the espective content.......So instead of hardocding I need a way to grab the value of handler
Handler in xslt
Can anyone suggest how to add a handler in xslt...Please any suggestions are greatly appreciated.
Thank You
Hey,
Do you mean like an Event Handler? Not sure this would be possible.
L
HI LACHLANN,
it's not an event handler....It's aa handler.ashx.
Thanks for the reply
Oh this might be a bit over my head, is it something you could create an extension for?
L
I don't think you could truly do it in an XSLT macro. You may want to take a look at /Base as an alternative:
http://our.umbraco.org/wiki/reference/umbraco-base
Hi Ramu,
Could you provide some details on what you are trying to achieve within the XSLT? What do you want to do with the ASHX handler?
We might be able to suggest alternatives.
Cheers, Lee.
Hi Lee,
Ashx handler brings the userlocation say country and region........right now I am hardcoding my value in the xsl param so that in the xslt logic if there is a match in countrycode render the espective content.......So instead of hardocding I need a way to grab the value of handler
Thanks
Thanks jc
If you're wanting country and region information, I'd imagine you'd have to:
Hi Ramu,
As JC says, it sounds like you would be better to write an XSLT extension to retrieve the user data (location, country/region).
Cheers, Lee.
is working on a reply...