Updated: Friday, September 01,2023-09-01 13:10:43
parent
2cff10f232
commit
a7c365b42d
|
@ -10,6 +10,7 @@
|
|||
{
|
||||
"id": "b1a409a8bbc86924",
|
||||
"type": "tabs",
|
||||
"dimension": 77.22095671981776,
|
||||
"children": [
|
||||
{
|
||||
"id": "0434a8dd305bd586",
|
||||
|
@ -29,6 +30,7 @@
|
|||
{
|
||||
"id": "e03eb9c54d05aa42",
|
||||
"type": "tabs",
|
||||
"dimension": 22.779043280182233,
|
||||
"children": [
|
||||
{
|
||||
"id": "08062de65033d460",
|
||||
|
@ -221,6 +223,7 @@
|
|||
},
|
||||
"active": "0434a8dd305bd586",
|
||||
"lastOpenFiles": [
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230901130417.png",
|
||||
"Coding Tips (Classical)/Terminal Tips/Languages/Lisp.md",
|
||||
"Coding Tips (Classical)/Terminal Tips/Languages/XML.md",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230901124958.png",
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
|
@ -6,6 +6,7 @@ Extensible Markup Language (**XML**) is a markup language and file format for st
|
|||
|
||||
- [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.
|
||||
- XML formatter --> freeformatter.com
|
||||
|
||||
For example, this is the XML diagram:
|
||||
![[Pasted image 20221208133914.png]]
|
||||
|
@ -90,4 +91,30 @@ xmins:xml = "http://www.w1.org/1999/XML/tranform">
|
|||
</xsl:stylesheet>
|
||||
```
|
||||
|
||||
![[Pasted image 20230901130417.png]]
|
||||
Output:
|
||||
![[Pasted image 20230901130417.png]]
|
||||
|
||||
|
||||
#### XML Scheme:
|
||||
|
||||
```
|
||||
<class>
|
||||
<student>
|
||||
<firstname>
|
||||
</class>
|
||||
```
|
||||
|
||||
It is **Valid** if it follows an XML Schema or XSD (XML Scheme definition)
|
||||
XML Scheme describes the structure of an XML document, written in XML
|
||||
|
||||
[XSD Generator ](https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbXVlTHJCdm96UjRDSzJHOVZwVklhRTF1YWNZZ3xBQ3Jtc0ttVE5qc3BGV3d5d3NoUDBKUXYwZFpBbFdRX2xJODZkcDVsWDRqLXhobE9yYXVsRDFMbW5HWndkcmpaNk5zLXZxZ1VVQVRPZ0RWd0w1ZXR0ZEIzdnEzRFNYUE9SeGpTSzgxcnpKUm5NdWF5WWFWWHdlZw&q=https%3A%2F%2Fwww.freeformatter.com%2Fxsd-generator.html&v=1BjmZHRHDv0)
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
<xs:schema xmins:xs="http://www.w3.org">
|
||||
<xs:element name="class">
|
||||
<xs:complexType>
|
||||
<xsLsequence>
|
||||
|
||||
```
|
Loading…
Reference in New Issue