This definition means that any usage of the entity reference &myentity within the XML document will be replaced with the defined value: " my entity value". XML allows custom entities to be defined within the DTD. The DTD can be fully self-contained within the document itself (known as an "internal DTD") or can be loaded from elsewhere (known as an "external DTD") or can be hybrid of the two. The DTD is declared within the optional DOCTYPE element at the start of the XML document. The XML document type definition (DTD) contains declarations that can define the structure of an XML document, the types of data values it can contain, and other items.
0 Comments
Leave a Reply. |