by, 11-01-2011 at 05:15 PM (1236 Views)
Developer who are working with XML, should know about XML prolog. This post will brief you about the said topic.
Its an optional component of the XML document. If you wish to include it, then it must appear before the root element. A prolog consists of two parts:
Part 1 comprises of XML declaration
Part 2 comprises of Document Type Declaration (DTD)
You can include both depending on your needs.
<!-- some tags here-->