Page 1 of 1
can't select "Show as XHTML" (and image reference
Posted: Thu May 04, 2006 8:50 pm
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
Posted: Fri May 05, 2006 9:50 am
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