Canzawar XML zuwa YAML akan layi kyauta

Input data
bfotool loadding
Output data
bfotool loadding

Mai sauya XML zuwa YAML mafi sauki

Wannan kayan aikin kan layi kyauta yana ba ku damar canza fayil ɗin XML zuwa fayil ɗin YAML. Kawai liƙa XML ɗinku a cikin fom ɗin ƙasa kuma nan take za ta canza zuwa YAML. Babu buƙatar saukewa ko shigar da kowace software. Kyauta

 

Misalai masu sauya XML zuwa YAML

XML

<?xml version="1.0" encoding="UTF-8" ?>
 <root>
     <array>1</array>
     <array>2</array>
     <array>3</array>
     <boolean>true</boolean>
     <color>#82b92c</color>
     <null/>
     <number>123</number>
     <object>
         <a>b</a>
         <c>d</c>
         <e>f</e>
     </object>
     <string>Hello World</string>
 </root>

YAML

root:
 array: ['1', '2', '3']
 boolean: 'true'
 color: '#82b92c'
 'null': ""
 number: '123'
 object: {a: b, c: d, e: f}
 string: 'Hello World'

 

Kayan aiki menene mai canza XML zuwa YAML?

Wannan mai canza XML zuwa YAML yana canza bayanan XML da fayiloli zuwa bayanan YAML da fayiloli. Wannan mai jujjuya yana ba da damar tsara shigarwar XML da fitarwa YAML. Hakanan yana karɓar fayilolin XML tare da haruffan ginshiƙi na al'ada da haruffan faɗin filin. Yana goyan bayan layukan sharhi kuma kuna iya yin watsi da layukan da ba komai ba na tilas. Hakanan zaka iya canza wurare nawa don amfani da su a cikin fitarwar YAML.

 

Yadda ake Canza XML zuwa YAML?

Mataki 1: Zaɓi shigarwar ku. Shigar da Bayanai.

Mataki 2: Zaɓi zaɓin fitarwa (na zaɓi) Zaɓuɓɓukan fitarwa.

Mataki 3: Samar da fitarwa.