can't select "Show as XHTML" (and image reference

Having trouble installing Oxygen? Got a bug to report? Post it all here.
fncll
Posts: 8
Joined: Wed Mar 31, 2004 5:20 am

can't select "Show as XHTML" (and image reference

Post by fncll »

I'm following the exact instructions in the Oxygen documentation for creating HTML output with docbook (including trying the default transformation) but I can't select the "show as XHTML" box (greyed out) and thus can't set the relative image path.

c
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The Show As XHTML option cannot be selected at the same time with Open in browser because a Web browser offers a better HTML/XHTML view of the transformation result so a HTML/XHTML preview in a panel inside the <oXygen/> window is not necessary. If the preview offered by the <oXygen/> renderer for HTML/XHTML is enough disable the Open in browser option so that you can select Show As XHTML and enter the base location for images in the field Image URLs are relative to. The base image path is used only for images specified in the HTML/XHTML file with a relative path, ex.

Code: Select all

<img src="relative/path/to/image.gif">
and only in the preview displayed in the <oXygen/> window, not for the Web browser option. If the transformation result is opened in a Web browser you have to save the file using the Save As field in a location where the image paths can be resolved correctly by the browser.

Regards,
Sorin
Post Reply