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

EPIC 4.3 PRB FOSI ID/REFID

NENESS
1-Newbie

EPIC 4.3 PRB FOSI ID/REFID

Hi,

I have problem when i use ID/REFID

<!-- XML File -->

<table id="tbl-4">

.......

</table>

<para> cccccccccccccccccccccccccc

<obj refid="tbl-4">vvvvvvvvv</obj>

</para>

<!-- TREAT ID -->

<e-i-c gi="table">

<charlist inherit="1" charsubsetref="espvtitre">

<indent inherit="0" leftind="@" firstln="*">

<quadding quad="center">

<textbrk endln="0">

<enumerat increm="1" enumid="tabct">

<savetext textid="tabctxt" conrule="tabct">

<savetext textid="tabnum" conrule="tabctxt">

<usetext source="\Table \,tabnum,\ \" placemnt="before">

<subchars>

<font inherit="1" weight="bold">

<highlt inherit="0" fontclr="blue"></subchars>

</usetext>

</charlist>

<att><fillval attname="id" fillcat="savetext" attloc="table" fillchar="conrule">

<charsubset>

<savetext textid="idtab"></charsubset>

</att>

<att><fillval attname="id" fillcat="savetext" attloc="table" fillchar="textid">

<charsubset>

<savetext conrule="tabnum">

</charsubset>

</att>

</e-i-c>

<!-- TREAT REFID -->

<e-i-c gi="obj">

<charlist inherit="1" ></charlist>

<att><fillval attname="refid" fillcat="savetext" fillchar="conrule">

<charsubset>

<font inherit="1">

<savetext textid="idstr">

<usetext source="\(\,idstr,\ ) \">

<subchars charsubsetref="stdgentext">

<font weight="medium">

<highlt scoring="1" scorespc="1">

</subchars>

</usetext>

</charsubset>

</att>

</e-i-c>

When i applic FOSI to XML file i obtain :

[A28068] Fosi compile failed using default formating information

Use show ids command to locate this error

When i choice show ids : NO errors

Thank you for Help

1 REPLY 1

Hi Bruno,

Did you ever get this solved?

This successfully saves the id to a savetext textid:

<att><fillval attname="id" fillcat="savetext" attloc="table" fillchar="textid">

<charsubset>

<savetext conrule="tabnum">

</charsubset>

</att>

Now the stylesheet has a textid=tbl-4.

The approach taken wants this for refid:

<att><fillval attname="refid" fillcat="usetext" fillchar="source">

<charsubset>

<usetext></usetext>

</charsubset>

</att>

That will give you <usetext source="tbl-4">.

If you need to change the output to wrap the cross reference with parentheses, perhaps you can change the original savetext:

<att><fillval attname="id" fillcat="savetext" attloc="table" fillchar="textid">

<charsubset>

<savetext conrule="\(\,tabnum,\)\">

</charsubset>

</att>

You have to do a straight fillval into a usetext source without any alterations.

I don't think FOSI technology allows you to fillval an id into a conrule. If you need to do something like that you have to use

<savetext textid="idtab" conrule="#CONTENT(id)">

I would question the need for this but I don't know your output requirements.

Regards,

Jerry Tippie

Announcements