-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt native adaptive serialization, add indent toggle #168
Conversation
… to use new pretty-print function signature
- This commit turns eXide’s “Output” dropdown menu into a serialization sandbox. - It enables the user to serialize query results not just as Adaptive, JSON, XML, or “direct”, but also as Text, HTML5, XHTML, XHTML5, and MicroXML - as enumerated in https://github.com/eXist-db/exist/blob/develop/src/org/exist/util/serializer/AbstractSerializer.java.
… to use native serialization
put direct on the bottom, since it’s more a “mode” than a serialization form
With my last commits, all natively-supported serialization output methods can be selected by the user — not just Adaptive, JSON, XML, and “direct”, but also Text, HTML5, XHTML, XHTML5, and MicroXML (as enumerated in https://github.com/eXist-db/exist/blob/develop/src/org/exist/util/serializer/AbstractSerializer.java): This commit turns eXide’s “Output” dropdown menu into a serialization sandbox. Users can now experiment and see how HTML5 serialization differs from XML: |
@wolfgangmm I've tested this PR thoroughly and think it's a good candidate for including in the upcoming 3.3.0 release (scheduled for this Sunday, July 2). If you agree and merge today or tomorrow, I'm happy to prepare the release to the public-repo for inclusion in the installer. |
@wolfgangmm Thank you! I've completed and uploaded the release: https://github.com/wolfgangmm/eXide/releases/tag/v2.4.0. |
Adaptive serialization with
indent=yes
Adaptive serialization with
indent=no
JSON with
indent=yes
JSON with
indent=no