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

AW: e-i-c in context question

Highlighted
Level 1

AW: e-i-c in context question

Hi Petra,
if you can use some acl code you can try following:

<e-i-c gi="title">
<charlist inherit="0">
</charlist>
<att>
<specval attname="Typ" attloc="system-var" attval="One">
<charsubset>
<usetext source="levelct-roman.txt" placemnt="before"></usetext>
</charsubset>
</att>
<att>
<specval attname="Typ" attloc="system-var" attval="Two">
<charsubset>
<usetext source="levelct.txt" placemnt="before"></usetext>
</charsubset>
</att>
<att>
<specval attname="Typ" attloc="system-var" attval="Three">
<charsubset>
<usetext source="" placemnt="before"></usetext>
</charsubset>
</att>
</e-i-c>

doctype.acl:

$oid=oid_first();
$Top=$oid_name($oid);
switch ($Top) {
case "intro":
$Typ="One";
break
case "body":
$Typ="Two"
break
case "chapter":
$Typ="Three"
break
default:
$Typ=";
break
}

hope this works

best regards
roland

> -----Ursprüngliche Nachricht-----
Tags (2)
1 REPLY 1

Re: AW: e-i-c in context question


Roland, Lynn and Ed,

Roland's solution is the one which worked completely the way I wanted - no
idea why Epic does not recognise the part:-)
Now I have the choice of having an extra doctype on my chapter level or
using the ACL.

Thanks for your helpful input,
Petra


Roland Kästle
<kaestle@reutlingen to:=" &quot;'adepters@arbortext.com'&quot;=" <adepters@arbortext.com=">
.tanner.de> cc:
Sent by: Subject: AW: e-i-c in context question
owner-adepters@arbo
rtext.com


02/13/2003 12:16
Please respond to
adepters



Hi Petra,
if you can use some acl code you can try following:

<e-i-c gi="title">
<charlist inherit="0">
</charlist>
<att>
<specval attname="Typ" attloc="system-var" attval="One">
<charsubset>
<usetext source="levelct-roman.txt" placemnt="before"></usetext>
</charsubset>
</att>
<att>
<specval attname="Typ" attloc="system-var" attval="Two">
<charsubset>
<usetext source="levelct.txt" placemnt="before"></usetext>
</charsubset>
</att>
<att>
<specval attname="Typ" attloc="system-var" attval="Three">
<charsubset>
<usetext source="" placemnt="before"></usetext>
</charsubset>
</att>
</e-i-c>

doctype.acl:

$oid=oid_first();
$Top=$oid_name($oid);
switch ($Top) {
case "intro":
$Typ="One";
break
case "body":
$Typ="Two"
break
case "chapter":
$Typ="Three"
break
default:
$Typ=";
break
}

hope this works

best regards
roland

> -----Ursprüngliche Nachricht-----