User Tools

Site Tools


informatica:linux:parsear:xml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

informatica:linux:parsear:xml [2020/06/08 17:09] – created joseinformatica:linux:parsear:xml [2021/12/12 21:53] (current) jose
Line 1: Line 1:
  
   echo '<root><foo a="b">lorem</foo><bar value="ipsum" /></root>' | xmllint --format -   echo '<root><foo a="b">lorem</foo><bar value="ipsum" /></root>' | xmllint --format -
 +Resultado:
 +<code>
 +<?xml version="1.0"?>
 +<root>
 +  <foo a="b">lorem</foo>
 +  <bar value="ipsum"/>
 +</root>
 +</code>
informatica/linux/parsear/xml.txt · Last modified: 2021/12/12 21:53 by jose