passing parameters into the XSLTResponseWriter: particularly hostname

2009-02-27 Thread Fergus McMenemie
Hello all,

I was wondering if there was a way of passing parameters into 
the XSLTResponseWriter writer.

I always like the option of formatting my search results as an 
RSS feed. Users can therefore configure their phone, browser etc
to automatically redo a search every so often and have new items
in the result set highlighted to them.

However many RSS clients require links to the underlying content 
to be absolute. So I need to pass in the full hostname, of the
machine serving the results, to the transform generating my RSS
feed. How do I do this?

Regards Fergus
-- 

===
Fergus McMenemie   Email:fer...@twig.me.uk
Techmore Ltd   Phone:(UK) 07721 376021

Unix/Mac/Intranets Analyst Programmer
===


Re: passing parameters into the XSLTResponseWriter: particularly hostname

2009-03-08 Thread Chris Hostetter

: I was wondering if there was a way of passing parameters into 
: the XSLTResponseWriter writer.

I don't think there's anyway to pass input in the traditional  
sense, but you can set default/invariant params along with echoParams=all 
to get the values you want into the XML doc itself where your stylesheet 
has access to it.


-Hoss



Re: passing parameters into the XSLTResponseWriter: particularly hostname

2009-03-09 Thread Fergus McMenemie
>: I was wondering if there was a way of passing parameters into 
>: the XSLTResponseWriter writer.
>
>I don't think there's anyway to pass input in the traditional  
>sense, but you can set default/invariant params along with echoParams=all 
>to get the values you want into the XML doc itself where your stylesheet 
>has access to it.
>
>
>-Hoss

Doh! of course.

Thanks.
-- 

===
Fergus McMenemie   Email:fer...@twig.me.uk
Techmore Ltd   Phone:(UK) 07721 376021

Unix/Mac/Intranets Analyst Programmer
===