www.webdeveloper.com
Results 1 to 2 of 2

Thread: Clarification required on Prolog & Epilog

  1. #1
    Join Date
    Apr 2010
    Posts
    1

    Clarification required on Prolog & Epilog

    Hi All,

    What is prolog & Epilog as part of XML Structure?

    As per I know Prolog conatins 1)XML declaration 2)PI's 3)Comments 4)DOCTYPE

    Epilog contains 1)PI's 2)Comments

    Please correct me if the above is wrong.

    Thanks
    Sarada

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    That is rather a scholastic question. As I learned, an XML document has both a logical structure and a physical structure.

    Physically, an XML document has entities (pieces of information), parsed or unparsed.

    Logically, an XML document is composed of declarations, elements, comments, character references, and processing instructions, all of which are indicated in the document by explicit markup.

    Well, sure, we may look to an XML document from another angle, and say that it has a Prologue (declaration, doctype, processing instructions) and a Document Element (the root itself). Never heard about the Epilog

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles