예제 #1
0
		public static object ParseExternal(string publicId, string systemId, string baseUri)
		{
		    Tokenizer tok = new Tokenizer(publicId, systemId, baseUri);		    
		    DTDParser parser = new DTDParser();
		    return parser.yyparseSafe(tok);		
		}			
예제 #2
0
		public static object ParseInline(string documentType, string baseUri)
		{
		    Tokenizer tok = new Tokenizer(baseUri, documentType);
		    DTDParser parser = new DTDParser();
		    return parser.yyparseSafe(tok);		
		}