How to View SVG Files As Markup?.

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
iosman001
Posts: 1
Joined: Fri May 08, 2020 10:19 am

How to View SVG Files As Markup?.

Post by iosman001 » Fri May 08, 2020 10:20 am

Hello,

I'm using xslt to gen SVG and would like to be able to view the generated, xml-compliant svg files in OG.

How do I add an extension to the list of extensions (xml, xsl, xsd) denoting xml-compliant files that OG reconizes ?

thanks
iosman

adrian
Posts: 2648
Joined: Tue May 17, 2005 4:01 pm

Re: How to View SVG Files As Markup?.

Post by adrian » Fri May 08, 2020 10:47 am

Hello,

Simply opening the SVG file (.svg extension) in Oxygen should show it in Text mode (as markup). If it doesn't do this by default, you can switch to Text mode (bottom of the editor window or menu Document > Edit Mode > Text).
If you have a custom file extension (other than .svg) you can add it in Options > Preferences, File Types. Associate your custom file extension (without the dot) with the "XML Editor" and it will have the same support as the .svg file extension.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply