Sounds like the simplest thing would be to just suppress that gentext in
the editor view. If you're using Styler, you can just select "Arbortext
Editor" in the "Outputs to edit" box, then remove the gentext. Directly in
FOSI, you'll want an "att" with a line like:
<specval attname="EDITOR-ONLY" attloc="system-var" attval="#ANY"/">
If you really need to do it in ACL (though for performance purposes, it'd
be better not to call ACL at all, if you can avoid it), you'd just need to
use the oid_* functions to walk up the element hierarchy to determine
context.
-Brandon 🙂
On Tue, Aug 21, 2012 at 1:54 PM, Jeff Stevenson <
jstevenson@gpslsolutions.com> wrote:
> Hello everyone,
>
> We have a situation where a "00" is outputting in the edit view in
> indices. First, this wasn't the case in 5.3, but we're seeing it in 6.0.
> If anyone has a clue on that, I would appreciate it.
>
> If not, we'd like to suppress this gentext in when in the indices. The
> gentext is coming from an ACL function and not from the FOSI stylesheet.
> However, when globally setting gentext=off it suppresses, but so does all
> the gentext in the doc.
>
> Is there a way to suppress gentext in the edit window based on context or
> current tag? I've tried several things in ACL, but no go thus far. Looking
> for other ideas.
>
> Thanks,
>
> Jeff
>