cmd/cue: wire up xml+koala via encoding/xml/koala
This is only the encoder side; the decoder side will be implemented
at a later time.
Unlike other encodings with interpretations, like json+jsonschema,
here we add "koala" as a boolean tag to the encoding "xml" so that
`xml+koala` can be used as a filetype, but not `koala` by itself.
"koala" is a made up word that we don't want to promote to the top
level namespace for encodings, and encodings like XML and INI will need
multiple encoding variants to be named, so we don't want all of them
to be promoted to the top level by default.
See #3776.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ic1c56f69f2afadf5596887286ab78170ba484ad1
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211720
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>