prolog-end condition?


You can use a prolog-end rule to perform actions at the end of the prolog of an XML or SGML document. The prolog is anything occurring before the start tag of the root element, such as the SGML or XML declaration or the DTD.

If the prolog is erroneous and prevents the parsing of the rest of the document, the prolog-end rule will not fire, but a prolog-in-error rule will fire if present.

You can have as many prolog-end rules as you like. All such rules will be performed in the order they occur in the program.