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

Display attribute value with FOSI

unknown1
1-Newbie

Display attribute value with FOSI

I begin with FOSI, and I don't find how to write some attribute value
with font caracterisc.
I find how to change attribute but I just want the value of the
attribute.

Marc


1 REPLY 1


Marc,

You might want to change the specval in Formule to a fillval. The specval
will evaluate the attribute and process the charsubset if the value(s)
is(are) true. The fillval will fill either the savetext conrule or usetext
source with the value of the attribute.

<pubno date="7" may=" 2002&quot;="/>

<att>
<fillval attname="date" fillcat="savetext" fillchar="conrule">
<charsubset>
<savetext textid="chgdate"></charsubset>
</att>

The att here would process the date attribute and put 7 May 2002 into a
savetext conrule with a textid of chgdate.

<dist type="a.statement"/">

<att>
<specval attname="type" attval="a.statement">
<charsubset>
<usetext source="\DISTRIBUTIONSTATEMENT" a–\&quot;=">
<subchars>

<postsp minimum="6" nominal="8" maximum="16" priority="force">
<textbrk startln="1" endln="0"></subchars>
</usetext>
</charsubset>
</att>

This example would evaluate the value of the type attribute and if it is
"a.statement" process the charsubset, putting DISTRIBUTION STATEMENT A -
into the output stream at that point.

The fillcat is the FOSI category (element) that is to be used, the fillchar
is the characteristic (attribute) of the category where the attribute value
will be placed.

I apologize for my confusing initial first response.

Lynn


Marc Messeant
<marc.messean to:=" adepters@arbortext.com=" <br="/> t cc: Lynn Hales/DEF/SC/CSC@CSC
@worldnet.fr> Subject: Re: Display attribute value with FOSI
Sent by:
owner-adepter
s


05/07/2002
04:41 AM
Please
respond to
adepters



Thank you for answer, I try it only today, but I'm unable to solve my
problem.
I don't see the value of the attribute :
here is the XML file :
<formule signe="+">
<element>
<texte>Element 1</texte>
</element>
<element>
<texte>Element 2</texte>
</element>
</formule>

And the FOSI extract :
<e-i-c gi="Formule">
<charlist inherit="1">
<highlt fontclr="red">
<suppress sup="0"></charlist>
<att>
<specval attname="Signe" attval="#ANY">
<charsubset>
<chgmark barthick="2pt" baroffset="1" join<br="/>="1"
type="content"></chgmark>
</charsubset>
</att>
</e-i-c>

What I want as output in the editor is :
+ Element1Element2
or the best but I dont' see how to do :
(Element1 + Element2)

Marc

Le Tue, 30 Apr 2002 11:37:31 -0400, vous (Lynn Hales <lhales@csc.com>)
m'avez écrit :

>
>Marc,
>
>What you are most likely looking for is the <fillval>. This allows you to
>take an attribute value and use it directly in your output. There is a
>similar FOSI function called a <specval> that allows you to evaluate
>attribute values.
>
>Both use a similar syntax:
>
><att>
> <specval attname="delchlvl" attval="#NONZERO">
> <charsubset>
> <chgmark barthick="2pt" baroffset="1" join="1" type<br="/>>="content"></chgmark>
> <suppress sup="1">
> </charsubset>
></att>
>
>If you search the online help for either fillval or specval, you will find
>(hopefully) all you ever wanted to know about them.
>
>Hope this helps.
>
>
>Lynn E. Hales
>Information Technology Consultant
>lhales@csc.com
>(757) 262-3495
>
>
>
>
>

> Marc Messeant

> <marc.messean to:=" adepters@arbortext.com<br="/>
> t cc:

> @worldnet.fr> Subject: Display attribute
value with FOSI
> Sent by:

> owner-adepter

> s

>

>

> 04/30/2002

> 11:14 AM

> Please

> respond to

> adepters

>

>

>
>
>
>
>I begin with FOSI, and I don't find how to write some attribute value
>with font caracterisc.
>I find how to change attribute but I just want the value of the
>attribute.
>
>Marc
>
>
>


Announcements