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

>>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to