Skip to content

Instantly share code, notes, and snippets.

@dariok
Last active April 8, 2019 08:52
Show Gist options
  • Save dariok/d43f9e480f72c7660217e1e4fe4b1fb2 to your computer and use it in GitHub Desktop.
Save dariok/d43f9e480f72c7660217e1e4fe4b1fb2 to your computer and use it in GitHub Desktop.
eXist-DB settings to make search in wdb+ work

Settings in eXist configuration to make search etc work well

See also: https://gist.github.com/joewiz/b53612a8b7744b8d1d24d2028770a79d

conf.xml

//indexer/@preserve-whitespace-mixed-content="yes"
//indexer/@suppress-whitespace="none"

//serializer/@indent="no"
//serializer/@enable-xinclude="no"

eXide/modules/load.xql

When working with eXide, avoid its auto-indent:

declare option exist:serialize "indent=no expand-xincludes=no";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment