cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Ganguly" <ggan...@transunion.com>
Subject Re: XSP+SVG in cocoon-2.0.4
Date Mon, 30 Jun 2003 15:40:12 GMT
hi Derek
  Thanks a lot for your help...and to the one who put those scripts 
  It was a real help to me!!

regards
Gautam

>>> DHohls@csir.co.za 06/30/03 02:41AM >>>
Gautam

Look at:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105550804911211&w=2


The use of SVG is well described in a set of sample code.

Derek

>>> ggangul@transunion.com 30/06/2003 01:59:30 >>>
hi there,
    I want to display an SVG image along side the web page content on
the users browser(user has Adobe SVG Viewer3.0 installed ) by putting
the SVG document within my XSP page.
        As long as  my pipeline displays the svg as png raster image
using the SVG2PNG serializer,it works fine.But the associated image
properties such as Zoom-In or Zoom-out are lost. For the user to keep
using these properties through IE,i want to pass the raw SVG content
to
the users browser which then will handle the responsibility of
displaying the SVG .
       
My xsp documents looks something like this:
<?xml version="1.0"?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp">
  <document>
     <header>
                <title>Test SVG Page</title>
     </header>
     <body>
     <s1 title="SVG Image">
           <p>You can use the mouse right click event to Zoom-In 
                   or Zoom-Out  
           </p> 
           <p>
                 <img src="batikFX.svg"/>
           </p>
   </s1>
 </body>
</document>
</xsp:page>

Currently my sitemap pipeline looks like this:
   <map:match pattern="*.svg">
           <map:generate src="resources/svg/{1}.svg"/>
            <map:serialize type="svg2png"/>
  </map:match>

  What is the bext possible way to go about these? Can anyone help me
out on these?    

regards,
Gautam






---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org 
For additional commands, e-mail: cocoon-users-help@xml.apache.org 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org 
For additional commands, e-mail: cocoon-users-help@xml.apache.org 




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message