XML is kinda like a custom HTML - you decide the tags, their heirarchy and style. To make a simple XML page, first you have to create your DTD, or document type definition. It follows a specific syntax and specifies how your document will be constructed - ie what tags will contain what. Heres a small example of a DTD you might create for a shakespeare play -
-----------start of page.xml-----------------
<?xml version='1.0' encoding ='UTF-8' standalone="yes"?> THIS LINE SPECIFIES WHAT VERSION OF XML
<?xml-stylesheet href="msndcss.css" type="text/css"?> THIS IS THE LINK TO YOUR CSS FILE, WHERE YOU DECLARE HOW EACH TAG IS TO BE FORMATTED
<!-- XML VERSION DECLARATION -->
<!-- THE DTD -->
<!DOCTYPE Shakespeare
[
<!ELEMENT play (#PCDATA|act)*> PLAY IS THE HIGHEST RANKING TAG, IT WILL CONTAIN ONLY CHARACTERS, OR ACT OBJECTS
<!ELEMENT act (#PCDATA|scene)*> THE ACT ELEMENT WILL CONTAIN ONLY SCENES
<!ELEMENT scene (#PCDATA|speaker)*> ETC
<!ELEMENT speaker (#PCDATA|line)*>
<!ELEMENT line (#PCDATA)*>
]>
<!-- END DTD -->
<PLAY>Hamlet
<ACT>Act X
<SCENE>Scene X
<SPEAKER>Hamlet
<LINE>To be or not to be,...</LINE>
</SPEAKER
</SCENE>
</ACT>
</PLAY>
MAYBE THIS WILL GIVE YOU SOME IDEAS...
XML does interface with XML databases, but i dont know anything about that
All the writing I have done has been in notepad.
The browsers will usually let you know when your syntax is wonky.