2. A data processing system as set forth in claim 1, wherein the means for formatting includes means for retrieving the format specification for the type name of each ancestor element of the selected element in the electronically published document, and means for combining the format specifications for the type names of the ancestor elements with the format specification for the type name of the selected element.
2. A data processing system as set forth in claim 1, wherein the means for formatting includes means for retrieving the format specification for the type name of each ancestor element of the selected element in the electronically published document, and means for combining the format specifications for the type names of the ancestor elements with the format specification for the type name of the selected element. 5. The data processing system of claim 2, further comprising a stack for temporarily storing the format specification for the type name of any ancestor element.