
This simple example shows some of the benefits of maintaining the phone
list in XML:
• The same document can be reused in different contexts; in this case,
internal and external phone lists are produced with minimal effort.
• It is easy to change the presentation—just update the style sheet.
• Although not illustrated in the example, it is easy to maintain the list
using an off-the-shelf XML editor.
• As the list grows and special needs arise, it is possible to write special-
ized software (using DOM or SAX) to further manipulate the list.
• If the list grows dramatically, it is possible to move to an XML data-
base for better performance.
In other words, ...