🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #1739

Generating text from an attribute

#1739
From: Darryl_Pretto
Date: Wed, 23 Jun 2004 18:14
7 lines
1133 bytes
I'm using DocBook and am trying to get the <productname> element to automatically display text from an attribute on the top level element (which is either <book> or <set>).

So in a document where I have <book label="Name Here">, all the <productname> elements are to display as <productname>Name Here</productname>. If there was no "label" attribute, then I would want to display some default value.

Is it possible to this with structured Framemaker? How would I go about it?

Thanks.
Technical Details
Message-ID: <3bb4bded.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcc08,976a74bc363bc246,start
X-Google-Attributes: gidfcc08,public
From: Darryl_Pretto@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.framemaker.sgml
Subject: Generating text from an attribute
Message-ID: <3bb4bded.-1@webx.la2eafNXanI>
Date: Wed, 23 Jun 2004 11:14:10 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit