Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

ezxml.ini [InputSettings]

The settings of [InputSettings] in ezxml.ini: HandlerClass, AliasClasses, TrimSpaces, AllowMultipleSpaces, AllowNumericEntities, SupplementaryCharacters

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/ezxml/InputSettings.md

On this page

ezxml.ini [InputSettings]

The block [InputSettings] of settings/ezxml.ini, with 6 setting(s).

Never edit settings/ezxml.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/ezxml.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/ezxml.ini.append.php for one siteaccess,
  • extension/<extension>/settings/ezxml.ini.append.php in an extension (read when the extension is active).

HandlerClass

Which input handler to use, ezsimplified is the default

Default: eZSimplifiedXMLInput.

<?php /* #?ini charset="utf-8"?
# settings/override/ezxml.ini.append.php
[InputSettings]
HandlerClass=eZSimplifiedXMLInput
*/ ?>

AliasClasses

Allows for overriding a handler with another

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/ezxml.ini.append.php
[InputSettings]
# an empty "AliasClasses[]" first replaces the shipped list; without it the items are added
AliasClasses[]
*/ ?>

TrimSpaces

AliasClasses[eZSimplifiedXMLInput]=myXMLInputHandler
Trim whitespaces in the input or not
'true' - spaces in the beginning of the line are trimmed.
'false'- all spaces stay in their place

Default: true.

<?php /* #?ini charset="utf-8"?
# settings/override/ezxml.ini.append.php
[InputSettings]
TrimSpaces=true
*/ ?>

AllowMultipleSpaces

'false' - spaces sequences are converted to a single space character.
'true' - all spaces are stored in XML.

Default: false.

<?php /* #?ini charset="utf-8"?
# settings/override/ezxml.ini.append.php
[InputSettings]
AllowMultipleSpaces=false
*/ ?>

AllowNumericEntities

Allow foreign characters (from another charsets) to be stored as numeric
entities.

Default: false.

<?php /* #?ini charset="utf-8"?
# settings/override/ezxml.ini.append.php
[InputSettings]
AllowNumericEntities=false
*/ ?>

SupplementaryCharacters

Characters above U+FFFF (emoji, mathematical letters such as U+1D538) in
rich text: 'enabled' keeps them, 'disabled' replaces them as XML characters
that are not allowed (a space on saving). 'auto' keeps them unless the
database is MySQL or MariaDB on a connection charset other than utf8mb4
([DatabaseSettings] Charset=utf-8 connects as utf8, which cannot store them:
they would become "????", or the save would fail in strict SQL mode).

Default: auto.

<?php /* #?ini charset="utf-8"?
# settings/override/ezxml.ini.append.php
[InputSettings]
SupplementaryCharacters=auto
*/ ?>

Generated by ./console exp:help:examples from settings/ezxml.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x