Skip to content
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

Add XML.build_fragment #8813

Conversation

straight-shoota
Copy link
Member

In some use cases you don't want to write a proper XML document, but only a document fragment. The main difference is whether there's a XML declaration (e.g. <?xml version="1.0"?>) to indicate the start of the document.
XML.build_fragment adds an easy interface for building an XML fragment by omitting the start document declaration.

@RX14 RX14 added this to the 0.34.0 milestone Feb 18, 2020
@straight-shoota straight-shoota merged commit 5e14204 into crystal-lang:master Feb 18, 2020
@straight-shoota straight-shoota deleted the feature/xml-builder-fragment branch February 18, 2020 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants