Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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>

    Modified: 2015-06-24