Marsoner Stephan wrote:
> from the power-users-guide:
> <
> 6.2.3.19. image
> 
> image(source, width, height, smooth|default, fallback_image).
> 
> Inserts a user defined, possibly scaled, image in generated content.
> 
> source
> 
>     Mandatory.
> 
>     URL or path of an image file. Only GIF, JPEG, PNG files will be
> displayed by XXE but this must not prevent you from using other formats if
> your backend processor supports them.
> 
> 
> Is there a chance to see more formats supported in the near future? We would
> need TIFF-support.
> 
> If not, is there a "relatively effortless" way of customization to add this
> functionality?

This is *exactly* what we want to do in XXE V2.6: no built-in TIFF 
support but a "relatively effortless" way of customization to add this 
functionality.




> a 2nd question:
> from the XXE-features:
> "Multiple, synchronized, views can be used to edit the same document, for
> example: a tree view showing XML nodes, a word processor-like view and
> another styled view only showing section titles."
> 
> I browsed the documentation but didn't find any example to create (and use)
> multiple styled views of the same document - any pointers highly
> appreciated!

XXE V2 offers no convenient way to work with multiple styled views of 
the same document (because, we would like to convince authors that 
working with multiple styled views of the same document is not the most 
productive way to author documents.)

However XXE indeed natively supports this feature. The basic idea is to 
load several CSS style sheets for the same document (using the Style 
menu) and then ''to tile'' the different windows.

Example:

[1] Start XXE.

[2] Make sure that toggle 'Change style sheet rather than add a view' is 
*not checked* (Options|Options, Window tab).

[3] Open <XXE_install_directory>/demo/bugreport.xml because this 
document happens to have 2 different style sheets: 'bugreport' and 
'xmldata'.

[4] By default, bugreport.xml is displayed using the CSS style sheet 
called 'bugreport'. Use the Style menu to select 'xmldata'.

A new window styled using 'xmldata' is opened. Previous window styled 
using 'bugreport' is hidden below the newly opened window.

[5] Use Window|Tile Horizontally to display both windows side by side.

[6] Edit the document using any of these windows and watch the effect of 
the other one.

bugreport.xml is just a demo. There is no XXE configuration file 
associated to this class of document. The CSS style sheets are directly 
referenced in bugreport.xml using the standard <?xml-stylesheet?> 
processing-instruction:

---
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/css" href="bugreport/bugreport.css"?>
<?xml-stylesheet type="text/css" href="bugreport/xmldata.css" 
alternate="yes"?>
<bugReports
xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/bugreport 
bugreport/bugreport.xsd"
xmlns="http://www.xmlmind.com/xmleditor/schema/bugreport";
xmlns:html="http://www.xmlmind.com/xmleditor/schema/xhtml";
xmlns:br="http://www.xmlmind.com/xmleditor/schema/bugreport";>
.
.
.
</bugReports>
---


If you want to associate several style sheets to a class of document, it 
is recommended to write a configuration file containing several <css> 
configuration elements. See 
http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s04s04.html


Reply via email to