[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: SGML: using attributes for dictionary style running h/f



I stand corrected. I tested it in V5.1.1, and it didn't work.
=====================================================
At 06:26 PM 11/29/99 -0500, Lester C. Smalley wrote:
><BIG SNIP>
>> But, you cannot precede an elemtag in the above expression with +, to get
>> what you are looking for. That is:
>> 
>>         <$attribute[hdrtxt:+,Section]>
>> 
>> is not a legal FM+SGML expression.>
>Are you sure Dan?
>
>The constuct <$attribute[ATTR_NAME:+,ELEMENT]> does indeed work for me in
>FM+SGML 5.5.6 (both Unix and Windows versions) to extract the content of
>the "ATTR_NAME" attribute of the last "ELEMENT" element on the page.
>
>In actual use, this is in a single Running H/F varible defined as:
>
>    <$attribute[Label:Para0]> -- <$attribute[Label:+,Para0]>
>
>(where -- is an em-dash)
>
>to extract the numbered label from the first and last top level paragraph
>elements in a  document.  And it works for me.
>
>It looks like this: " 1.3 -- 1.14 " in the header of the page.
>
>Maybe I'm just lucky and it shouldn't, but I'm not complaining.
>
     ====================
     | Nullius in Verba |
     ====================
Dan Emory, Dan Emory & Associates
FrameMaker/FrameMaker+SGML Document Design & Database Publishing
Voice/Fax: 949-722-8971 E-Mail: danemory@primenet.com
10044 Adams Ave. #208, Huntington Beach, CA 92646
---Subscribe to the "Free Framers" list by sending a message to
   majordomo@omsys.com with "subscribe framers" (no quotes) in the body.


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **