[Contents] [Prev] [Next] [Index] [Report an Error]

# Displaying Output in XML Tag Format

To display command output in XML tag format:

- Enter display xml after the pipe symbol.

The following example displays the show cli directory command output as XML tags:

    user@host> show cli directory | display xml
    <?xml version="1.0"?>
    <output>
    Current directory: /root
    </output>

#### Related Topics

- Displaying Command Output
- Counting the Number of Lines of Output
- Displaying the End of the Output for a Command
- Saving Output to a File
- Using the Pipe ( | ) Symbol When Entering Commands

[Contents] [Prev] [Next] [Index] [Report an Error]