This form of PC programming only sends and saves data as text file not display it. To see data, XML requires working in conjunction with a different language. Data, saved in a tree format, uses elements designed and named. Writing data in an XML file is a quite simple.
Required things:
- For writing in XML documents use a standard text editor like Notepad. Go to "Start", select "All Programs," and then click "Accessories." Open "Notepad".
- An XML statement commands to program running on page. A standard statement begins with <?xml, and ends with closing tag.
- Establish tree format with a root elements and child elements. Tree format is main part of XML language. A root elements is first line of tree defying data writing.
- Verify tree for any mistakes. See that all elements must have a closing tag.
- Store file in XML format by adding .xml as extension. To do so, Click on "File," select "Save As." Enter name for file and add .xml at end.



Reply With Quote
Copyright Techfuels
Bookmarks