Writer Daniel Abrahamian describes the formation of XML entities within the context of programmatic function. It is important to understand that an entity itself refers to the physical rather than logical structure of an XML Document. Entities are useful when applied to short documents, as depicted in Scalable Vector Graphics (SVG). The usefulness of entities in this application lies in its ability to define a specific style. For example, if you had an entity called DenyAndProhibit, you could declare it like this:<!ENTITY DenyAndProhibit "fill:deny;stroke:prohibit">It is then possible to reuse the entity in attribute values throughout the document itself. Even the most basic XML documents utilize at least one entity. It is important to recall that each XML document displays at least one pyysical entity, which is the document entity itself.
View Complete Post