Can you capture the name and port of the localhost from the "host" request parameter, and pass it to the stylesheet?
-----Original Message----- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 00:21 To: [EMAIL PROTECTED] Subject: RE: Including static images into SVG files Thanks for this suggestion. I think its a "toss up" as to where this info comes from or is stored. I am not sure I prefer using the sitemap to do this as it: (a) makes the sitemap more complex and (b) means I have to maintain two different versions (development / production) whereas a single "included" stylesheet is a relatively simple approach. Of course, everyone has their own taste and preferences! >>> [EMAIL PROTECTED] 02/12/2002 01:15:31 >>> My approach is to pass the path from the sitemap to the XSL stylesheet that produces the SVG as a parameter. The advantage of that is to keep all references to filesystems in the sitemap, rather than in stylesheets. Also, make full use of localhost where appropriate. Hope this helps, Upayavira > >Unfortunately this requires an absolute URL > >address - if I drop the http://myserver/ > >then it simply does not work - is there a > >Cocoon "substitute" (protocol?) I can use > >to get the image processed correctly, *regardless* > >of what machine the app. is loaded on?? --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>