Question
Quick FOSI Question
We haven't had to change our FOSI in years (aside from slight
modifications) so I'm a bit rusty.
I'm hoping someone might be able to answer this quick question before
I inevitably figure it out.
Given two elements:
<problem id="p_123"><para>This is some
text</para><some-other-elements-here/></problem>
and
<problemref linkend="p_123">
I would like to have the para text from the ID node shown after the
problemref element in Arbortext.
I setup my fosi as follows:
<e-i-c gi="problem">
<charlist charsubsetref="block">
<indent leftind="@12pt" firstln="*"></charlist>
<att>
<specval attname="id" attloc="problem" attval="#ANY">
<charsubset>
<savetext textid="xref-formatted.txt"<br"/>conrule="<problem.fmt>,#CONTENT,</problem.fmt>" xrefidtag="problem">
</charsubset>
</att>
</e-i-c>
<e-i-c gi="problemref">
<charlist inherit="1" charsubsetref="inline"></charlist>
<att>
<specval attname="linkend" attloc="problemref" attval="#ANY">
<charsubset>
<usetext source="#XREF(linkend,xref-formatted.txt)"></usetext>
</charsubset>
</att>
</e-i-c>
Now, the issue I'm having is that #CONTENT gives me all text within
the problem, but I really only want the text within the para. Is
there a simple way to just pull the <para> text?
Thanks in advance,
keith
modifications) so I'm a bit rusty.
I'm hoping someone might be able to answer this quick question before
I inevitably figure it out.
Given two elements:
<problem id="p_123"><para>This is some
text</para><some-other-elements-here/></problem>
and
<problemref linkend="p_123">
I would like to have the para text from the ID node shown after the
problemref element in Arbortext.
I setup my fosi as follows:
<e-i-c gi="problem">
<charlist charsubsetref="block">
<indent leftind="@12pt" firstln="*"></charlist>
<att>
<specval attname="id" attloc="problem" attval="#ANY">
<charsubset>
<savetext textid="xref-formatted.txt"<br"/>conrule="<problem.fmt>,#CONTENT,</problem.fmt>" xrefidtag="problem">
</charsubset>
</att>
</e-i-c>
<e-i-c gi="problemref">
<charlist inherit="1" charsubsetref="inline"></charlist>
<att>
<specval attname="linkend" attloc="problemref" attval="#ANY">
<charsubset>
<usetext source="#XREF(linkend,xref-formatted.txt)"></usetext>
</charsubset>
</att>
</e-i-c>
Now, the issue I'm having is that #CONTENT gives me all text within
the problem, but I really only want the text within the para. Is
there a simple way to just pull the <para> text?
Thanks in advance,
keith

