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

CALS Table Auto Insert Title Element conflict with Table EditorCreation

Newbie

CALS Table Auto Insert Title Element conflict with Table EditorCreation

I would like to automatically have the title element insert above a
tgroup in the CALS table model...



The xml looks like
<table><title>Text</title><tgroup>etc....</tgroup></table>



I looked into using an InsertAutoWithin rule in the dcf but in the Epic
documentation it states that:

Tags (2)
2 REPLIES 2
Highlighted

RE: CALS Table Auto Insert Title Element conflict with Table EditorCreation

color=#0000ff>Since the CALS table model is highly parameterized, you should be
able to make <title> a required child of <table> bycoming up
with a different %tblmdl; entity and declaring it in your DTD prior to your CALS
table declaration. This should insert<title> automatically
whenever a table is inserted. If you want title to be optional, then I
guess you're back to the same problem.

Notice
I said, "should" a lot. This means I haven't tried it, so I don't know how
well it works.



face=Tahoma size=2
Highlighted

CALS Table Auto Insert Title Element conflict with TableEditorCreation

Yeah, we'd wish to make it optional 😞 or else we would have used the
suggested solution already. thanks.



Benton, Ed L wrote:


<font<br/> face="Arial">Since the CALS table model is
highly parameterized, you should be able to make <title> a
required child of <table> bycoming up with a different %tblmdl;
entity and declaring it in your DTD prior to your CALS table
declaration. This should insert<title> automatically whenever a
table is inserted. If you want title to be optional, then I guess
you're back to the same problem.

Notice I said, "should" a lot. This means I
haven't tried it, so I don't know how well it works.


Announcements