Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 87190 invoked by uid 500); 2 Dec 2002 11:21:39 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 87127 invoked from network); 2 Dec 2002 11:21:38 -0000 Disclaimer: The CSIR exercises no editorial control over E-mail messages originating in the organisation and the views in this message are therefore not necessarily those of the CSIR and/or its employees. Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 02 Dec 2002 13:21:04 +0200 From: "Derek Hohls" To: Subject: RE: Including static images into SVG files Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_DE820522.8BEA9283" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=_DE820522.8BEA9283 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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! >>> uv@upaya.co.uk 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. To unsubscribe, e-mail: For additional commands, e-mail: --=_DE820522.8BEA9283 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit
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!

>>> uv@upaya.co.uk 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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

--=_DE820522.8BEA9283--