# XML
Extensible Markup Language (**XML**) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
- Utilized often in [BBEdit](obsidian://open?vault=Coding%20Tips&file=Computers%2FMac%20OS%20X%2FBBEdit) for CLMs.
- [This](https://www.w3schools.com/xml/xml_tree.asp) is a fantastic article explaining how an XML diagram which we learned about in software engineering directly translates to the XML code that is used by the system. This is why diagrams are so important in software engineering overall.
- This [website](https://www.hezhengda.io/xml-file-from-quantum-espresso/) discusses how to extract XML files from quantum espresso.
For example, this is the XML diagram:
![[Pasted image 20221208133914.png]]
And this would be the XML code:
```
Everyday Italian
Giada De Laurentiis
2005
30.00
Harry Potter
J K. Rowling
2005
29.99
Learning XML
Erik T. Ray
2003
39.95
```
Wait so hold on just a second, wouldn't this have applications in quantum??
- apparently, [this](https://github.com/photonquantum/actix-xml) is a XML extractor for actix-web a framework that is used in Rust
![[Pasted image 20230901124958.png]]
XSL - eXtensible Stylesheet Language
- a styling language for XML
XSLT - XSL Transformations
- transforms XML documents into other formats like HTML
```xml
Graham
Hall
Garry
```
```xsl
Student List < /h2>
First Name
Last Nam
Nick Name
```