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
/var/home/regress