Added targetPointer to output
Added elements within text data category support.