Method Decl
Decl(Char[], Int32, Int32)
Parsing the complete XML Document Type Definition is way too complex, but for many simple cases we can extract something useful from it. doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('[' intSubset ']' S?)? '>' DeclSep ::= PEReference | S intSubset ::= (markupdecl | DeclSep)* markupdecl ::= elementdecl | AttlistDecl | EntityDecl | NotationDecl | PI | Comment ExternalID ::= 'SYSTEM' S SystemLiteral | 'PUBLIC' S PubidLiteral S SystemLiteral
Declaration
public virtual void Decl(char[] buff, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | buff | |
System.Int32 | offset | |
System.Int32 | length |