菜鸟问题····
											<?xml version="1.0" ?>
<!DOCTYPE BOOK
  [
 ·····
 ]
>
请问一下 红色部分是自己定义的吗 ? 还是有什么规定的 ?										
					
	 2005-06-20 16:01
	    2005-06-20 16:01
   2005-06-26 15:42
	    2005-06-26 15:42
  
 2005-09-08 20:07
	    2005-09-08 20:07
  在以下的例子里,红色部分就是自己定义的,好象兰色部分不可以自己定义.具体的我也不是很明白,因为也是第一次遇到这样的问题.
using System;
using System.IO;
using System.Xml;
public class Sample
{
 public static void Main()
 {
  // Create the XmlDocument.
  XmlDocument doc = new XmlDocument();
  doc.LoadXml("<!DOCTYPE sfsf [<!ENTITY h 'hardcover'>]>" +
   "<book genre='novel' ISBN='1-861001-57-5'>" +
   "<title>Pride And Prejudice</title>" +
   "<style>&h;</style>" +
   "</book>");
  // Display information on the DocumentType node.
  XmlDocumentType doctype = doc.DocumentType;
  Console.WriteLine("Name of the document type:  {0}", doctype.Name);
  Console.WriteLine("The internal subset of the document type:  {0}", doctype.InternalSubset);
 }
}

 2006-03-13 16:41
	    2006-03-13 16:41