Example code of Document type
Example code of Text type