Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to get an XML File on Repl.it
ebp11 (42)

This is a tutorial on how to get XML on Repl.it, and a brief overvew on what XML is.


How do I get XML on Repl.it?

Currently, XML is not posted on Repl.it as a language. You will have to create an HTML, CSS, JS repl first. Then press the add file button. Name the file index.xml. Delete style.css and script.js files. On index.html file, paste the following code:
<script> window.open("index.xml", "_self"); </script>
With that, let us go to the index.xml file and start coding!


What is XML?

XML, which stands for eXtensible Markup Language, is a markup language much like HTML (HyperText Markup Language). However, unlike HTML, XML has tags that are invented by the author. It is styled with XSL (XML Stylesheet Language).

What is XSL?

XSL is the styling language for XML. Since XML has no predefined tags, you style it with XSL. It is made up of four languages.
XSLT (XSL Transformations)
XPointer (XML Pointer Language)
XPath (XML Path Language)
XQuery (XML Querying Language)

Further information, and a full tutorial on XML and XSL

Please check out check out this.

Comments
hotnewtop
MrDK (0)

This XML file does not appear to have any style information associated with it. The document tree is shown below.

Can you help?

ebp11 (42)

@MrDK all you need to do is add some XSLT. You can learn more about XSLT at https://www.w3schools.com/xml.