Thanks, I am always amazed about what functionality is already build inside
XXE.

However, this <saveOptions> doesn't work for me. The options specified in
configuration file are ignored (but the file is parsed, when there is typo,
XXE warns about it). The Options/..Save/Override settings specified in
configuration files is not checked. What goes wrong? I have XXE 2.10.

Jan

Contents of addon/MyXHTML/MyXHTL.xxe file:

<?xml version='1.0' encoding='ISO-8859-1'?>
<configuration name="MyDocBook"
xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>

<!-- include original config -->
<include location="xxe-config:xhtml/xhtml.xxe"/>

<!-- modify save options for XHTML -->
<saveOptions
indent="1"
indentation="4"
maxLineLength="10000"
addOpenLines="true" />
</configuration>

"Hussein Shafie" <hussein at pixware.fr> wrote in message
news:42ADA522.5040706 at pixware.fr...
> Jan Bares wrote:
> > can I have different save options (indentation, open lines etc) for
> > different types of files? I fear this is not possible. My idea is to use
> > some kind of processing instruction inside the XML for condiguration.
With
> > this, I can even use different settings for different parts of the same
> > document :-)
>
> The only thing you can do is to specify *preset save options* for
> different types of documents.
>
> For example, it is possible to specify
>
> "DocBook documents must not be indented and must be saved using the
> ISO-8859-15 encoding"
>
> and this, no matter what the end-user has specified in her/his Options
> dialog box.
>
> See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/ch06s20.html
>
> See
>
http://www.xmlmind.com/xmleditor/_distrib/doc/help/ar01s06s01.html#saveOptions
>
>
>
>
>
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>




Reply via email to