Skip to main content

band bxml raw

Validate and pretty-print a BXML string

Synopsis

Validates a BXML string by round-tripping it through an XML parser and prints it back indented. Exits with an error if the input is not well-formed XML.

band bxml raw <xml-string> [flags]

Examples

band bxml raw "<Response><Hangup/></Response>"

Options

-h, --help help for raw

Options inherited from parent commands

--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)

SEE ALSO

  • band bxml - Generate Bandwidth XML (BXML) snippets