global-atts attribute group

The "global-atts" attribute group includes a set of debugging attributes that are normally hidden from authoring view.

These attributes are intended to store debugging information during intermediate processing. One possible implementation is to use xtrf (xml-trace-filename) to store the original source file name through intermediate processing steps, and use xtrc ( xml-trace-counter) to store an element counter for repositioning authoring tools at the originating element location. If values are assigned in this way in the first stage of a processing stream, values in these attributes can then be used for error recovery.

These attributes are normally hidden from authors and exposed only to processing tools or editor macros. Values used in these attributes may be implementation-dependent.


Name Description Data Type Default Value Required?
xtrf xml-trace-filename, the original filename CDATA #IMPLIED No
xtrc xml-trace-counter, an element counter for repositioning editors at a known edit location CDATA #IMPLIED No

Was this helpful?