Document.parseSawBangInstruction

if it sees a <! that is not CDATA or comment (CDATA is handled automatically and comments call parseSawComment), it calls this function with the contents. <!SOMETHING foo> calls parseSawBangInstruction("SOMETHING foo") Return true if you want the node appended to the document. It will be in a BangInstruction object.

class Document
bool delegate(string) parseSawBangInstruction;
Suggestion Box / Bug Report