cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

InsertAutoNested child elements

Highlighted
Newbie

InsertAutoNested child elements

Hello,

I'm using Epic 4.1.1

I want to insert an article with 2 child elements using the topic
"InsertAutoNested" in the ATD-editor.

Example:

<article>

<classification></classification>
</article>

Can I define this in the ATD-editor?

The construction
"InsertAutoNested:
article: title"

results in
<article>

</article>

How can I autoinsert the classification element as the second child
element of article?

Thanks for any advice!

Michiel Vanhoutte
Wolters Kluwer Belgium
Tags (2)
1 REPLY 1
Highlighted

Re: InsertAutoNested child elements

Michiel,

Have you looked at the insert required tags set option? The option name
is set addrequiredtags which you can find in the online help's index.
Turning this on will enter any required tags. Now if title or
classification are not required, then there is a problem. Of course now
any other element that has required tags will also be added, so there are
some drawbacks. But this may be easier than trying to make the ATD file
work.

Remember one thing about the ATD file. If you make changes, you MUST
recompile your DTD or the changes won't show up.

I haven't messed with an ATD file in awhile and I don't have anyother
versions of Epic other than 5.1 installed on my system any longer. So I
really can't help on the ATD functionality.

Lynn
Announcements