# Output DCT Comments - template?

**URL:** <https://clarionhub.com/t/output-dct-comments-template/5254>\
**Category:** questions\
**Tags:** dictionary, templates\
**Created:** [July 1, 2022, 9:32am UTC](https://clarionhub.com/t/output-dct-comments-template/5254 "2022-07-01T09:32:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clarion\_clarion](https://clarionhub.com/user_avatar/clarionhub.com/clarion_clarion/32/636_2.png) [@Clarion\_clarion](https://clarionhub.com/u/Clarion_clarion)\
**Post date:** [July 1, 2022, 9:32am UTC](https://clarionhub.com/t/output-dct-comments-template/5254/1 "2022-07-01T09:32:57Z")

</div>

As you might know, you can add a Comments to the Dictionary:

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/d/d089a067509456c3a6e20d04e954ddfb05d4ffaa.png)

and after that, if you Export DCT as text you can find it as below:

```
<?xml version="1.0" encoding="UTF-8"?>
<Dictionary Name="Invoice" Version="1" DctxFormat="4">
	<DictionaryVersion Version="1" Description="Initial version"/>
	<Comment>
		<Line Text="Comment 1 - line 1"/>
		<Line Text="Comment 1 - line 2"/>
		<Audit CreateUser="Administrator" CreateDate=" 1 JUL 2022" CreateTime="11:21:35AM" CreateVersionNumber="1" ModifiedUser="Administrator" ModifiedDate=" 1 JUL 2022" ModifiedTime="11:21:35AM" ModifiedVersionNumber="1"/>
	</Comment>
	<Comment>
		<Line Text="Comment 2 - line 1"/>
		<Line Text="Comment 3 - line 2"/>
		<Audit CreateUser="Administrator" CreateDate=" 1 JUL 2022" CreateTime="11:21:35AM" CreateVersionNumber="1" ModifiedUser="Administrator" ModifiedDate=" 1 JUL 2022" ModifiedTime="11:21:35AM" ModifiedVersionNumber="1"/>
	</Comment>
	<Comment>
		<Line Text="Comment 3 - line 1"/>
		<Line Text="Comment 3 - line 2"/>
		<Audit CreateUser="Administrator" CreateDate=" 1 JUL 2022" CreateTime="11:21:35AM" CreateVersionNumber="1" ModifiedUser="Administrator" ModifiedDate=" 1 JUL 2022" ModifiedTime="11:21:35AM" ModifiedVersionNumber="1"/>
	</Comment>

```

So my question is: how can I do the same but using Clarion Template? What are Built-in Template Symbols for this? I found a few %DictionaryXXX symbols but not what I need...

---

<div class="post-metadata">

**Author:** ![JonW](https://clarionhub.com/user_avatar/clarionhub.com/jonw/32/1344_2.png) [@JonW](https://clarionhub.com/u/JonW)\
**Post date:** [July 12, 2022, 12:17pm UTC](https://clarionhub.com/t/output-dct-comments-template/5254/2 "2022-07-12T12:17:54Z")

</div>

I suspect you are out of luck. My guess is that when the application reads the dictionary it ignores all the Comments. The comments that you show above are at the dictionary level, but you can put a comment on at any level, and if the dictionary read _did_ read the comments from the dictionary they would, following the normal convention, be called:  
%DictionaryComment  
%FileComment  
%FieldComment  
%KeyComment  
%KeyComponentComment  
%RelationComment and so on.

But there is no mention of them in the lists of symbols in the help, and I suspect that is because the dictionary read just doesn’t create those symbols. Same with the Audit information. I guess they figured that info would never be used in APP generation, so why bother with it.

It is of course possible to read the XML TXD file and then you can print whatever you like.
