Constructor for creating a spec externally for batch
input of content and markup into the document.
Parameters:
-
a - the attributes for the element
-
type - the type of the element (StartTagType, EndTagType,
ContentType)
-
txt - the text for the element
-
offs - the offset into the text >= 0
-
len - the length of the text >= 0