Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying SVG through WebFocus
Go
New
Search
Notify
Tools
Reply
  
Displaying SVG through WebFocus
 Login/Join
 
<Bandi>
posted
I am trying to pass svg code in between the -HTMLFORM tags. But the browser does not detect it to be svg and just displays it as a normal XML code.

Is there a way to pass the MIME TYPE as SVG to the browser so that it could interpret the svg code?

Thanks,
Bandi
 
Reply With QuoteReport This Post
<Pietro De Santis>
posted
If there's nothing else in the HTMLFORM, the following may work, but I'm not sure as I've never worked with SVG.


-HTMLFORM BEGIN





-HTMLFORM END

This message has been edited. Last edited by: <Mabel>,
 
Reply With QuoteReport This Post
<Bandi>
posted
But I am trying to do something like this -



-HTMLFORM BEGIN


style="stroke:black;fill:blue;"/>

-HTMLFORM END

Bcause I want to generate my own svg tags and include them. And I am working on SelfService application, so I cannot access the file source path.

This message has been edited. Last edited by: <Mabel>,
 
Reply With QuoteReport This Post
<Pietro De Santis>
posted
Maybe putting your svg code in a separate html and using an iframe within the -HTMLFORM might work.
 
Reply With QuoteReport This Post
Member
posted Hide Post
Try adding the svg doctype declaration after the xml declaration.




< !DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

Hope this helps...
_______________________________
Mikko

This message has been edited. Last edited by: <Mabel>,
 
Posts: 4 | Location: Finland | Registered: March 26, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying SVG through WebFocus

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.