From the article "Flyweight is a structural pattern used to support a large number of small objects
efficiently. Several instances of an object may share some properties: Flyweight factors these common properties
into a single object, thus saving considerable space and time otherwise consumed by the creation and maintenance
of duplicate instances."
This pattern by Fabio Arciniegas is presented in the January 2000 article Design Patterns in XML Applications on XML.com.
This pattern takes the original Gang of Four Flyweight pattern and places it into an XML processing context.
Although the Flyweight
pattern on this site has the same name, they have different purposes. The pattern
on this site is a structural pattern, it shows how to organize you XML document. The pattern discussed in the article is a
processing pattern, it shows solutions to be used with code.