XML Tutorial for Beginners (formatted in XML) – Project Hospital

XML Tutorial for Beginners (formatted in XML) – Project Hospital 1 - steamclue.com
XML Tutorial for Beginners (formatted in XML) – Project Hospital 1 - steamclue.com

This is a quick explanation of XML (the modding language) that can be used to modify this game.
I tried to make this simple, but feel free ask me questions!


 XML, or eXtendale Markup Language, is a tool used to store various data.
 It's popular due to the fact that it is very easy to use and read.
 XML formats data you type into both human and computer readable code.
 It's easy to translate, and most software can open it for editing, if not manipulating.
 this, of course, is a steam guide text editor, so it won't do anything*.
 XML by itself doesn't do anything. Think of it as a cooking recipe. You
 can't just stare at it and expect it do make anything - You have to
 do stuff with it. That's how XML works. It gives the computer
 (who you can think of as the baker) a set of data. The computer then
 inputs the "ingredients" into the game(or the oven) to be displayed before
 the user in the game. You will just be making recipes, at least for now.
The steam text editor is also in HTML, which is a different language entirely.

Let's get this out of the way:
The steam guide editor does not preserve white space (nerd-speak, spaces at the start and end of a sentence). To keep the XML in the correct format, I have to do some bizarre formatting.


 As you can see, text in XML is divided with the words in the carrots. 
 See the word "Tag" above this? Look below this paragraph, and you will see it again, 
 but this time with a backslash. That's a tag, which is how XML structures data.
 All tags must have one staring and closing version. (It's case-sensitive, by the way)
 All tags that are inside other tags are children of it's container, and are parents 
 of the tags it contains in its self. Parent's get a*sess to the kids info, but are 
 still separate things. If you look at this page, you can see that "Text" contains
 "Basics", which in turn contains "Tags", "Tag_Family" , "Advice", and "Self closing 
 tags". It's kind of like a bulleted list, containing information loosely relating to 
 it's topic. 
 A Well formatted XML document has equal spacing between short and concise tags, and new lines for each separation, as well as easy readability. 
 re<c> </c>omendations</Those_are_not_rules.> 
 <Is> Really Good at </Is> </XML>
 <WhatItDoes> so messy format </WhatItDoes> <is> OK, although discouraged. </is>
 Sometimes, you will want to just have a tag that separates things without data. 
 One thing you can do is implement an empty/self-closing tag. They look like 
 And can really boost the neatness of a document!

You can open your default text editors (TextEdit for Mac, Notepad Windows, etc.) and start writing XML. But there are some great, free software that can auto-format and color code. It all depends on the software.
even auto-complete:

App Description Compatibility
Notepad++ Great text editor for all purposes with coding support, small memory footprint and easy to load Windows
Sublime text Notepad++++ is a smaller version of the standard notepad but has a more attractive design. All three
Visual Studio Big application for huge projects – Use this if coders are your future plans. All three (I'm sure)
Code Beautify Takes XML. Then, creates a visually appealing tree diagram.
Link: https://codebeautify.org/xmlviewer – [codebeautify.org] 



 If you want to ever bold or italicize a word/words, surround the text with <b></b> for 
 bold and <i></i> for italics. 
 <Attributes are="cool">
 Attributes are data points used to correlate different tags to specific data.
 You do this by typing the type of data you want to a*sociate the tag to,
 then write what the value of it is. Here, let me show you:
 <Bob gender="male"/> 
 <Jake gender="male"/>
 <Sophia gender="female"/>
 <Jennifer gender="female"/>
 <Mr.Bean gender="alien"/> 
 XML reads symbols like open and closed carrots as special instructions (e.g starting a 
 tag) if you ever need to have a special symbol in text, there are letter references that 
 can substitute for them, and will appear as the desired symbol upon display. Note
 that only the open carrot is really outlawed, but it's good practice for the others. 

 &lt; becomes the open carrot 
 &gt; becomes the closed carrot
 &amp; becomes the ampersand
 &apos; becomes the apostrophe
 &quot; becomes the quotation mark

 <!--This is a comment, which is automatically ignored when input into the code oven. it's very useful for writing notes, further organizing code, or as a guide for other users when they look at your code-->



 <book category="children">
 <title lang="en">Harry Potter</title>
 <author>J K. Rowling</author>
<book category="cooking">
 <title lang="es">Libro De Palabras</title>
 <author>Eli Macho</author>
 <book category="web">
 <title lang="en">Learning XML</title>
 <author>Erik T. Ray</author>
 There's this website called REP_URLS_62f1ec7588efa [www.w3schools.com], and it 
 helped me a lot, you should check it out.
<Goodbye from="melack2"/>


Written by melack2

This is all we can share for XML Tutorial for Beginners (formatted in XML) – Project Hospital for today. I hope you enjoy the guide! If you have anything to add to this guide or we forget something please let us know via comment! We check each comment! Don’t forget to check SteamClue.com for MORE!

Be the first to comment

Leave a Reply

Your email address will not be published.