🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #542

FM 7.0 Build Element's Value from a Series of Attributes

#542
From: Brian_Popp
Date: Fri, 27 Feb 2009 22:18
19 lines
1485 bytes
I've had several people tell me this wasn't possible, but it seems like such a common-sense feature that I thought I'd ask here. I have an element that has four attributes associated w/ it and no TEXT value. I want to set the value of that element to a concatenation of the four attributes.

As an example:

<FullName FirstName="Brian" LastName="Popp"/>

and I want this to display:

Brian Popp

I've considered using elements instead of attributes, but in this case I need to default some of the values, so attributes seem a little cleaner.

In many of the EDD's I've looked at, they use a series of nasty conditionals to insert the attribute values into the text (as opposed to just referencing the actual attribute somehow). In my case, I could have hundreds of values in each attribute, so this is obviously undesirable.

Are these my only two options? Any feedback is appreciated.

Thanks,

Brian
Technical Details
Message-ID: <59b81281.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,b86b555cde1d1277,start
X-Google-Attributes: gidfd315,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Brian_Popp@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker
Subject: FM 7.0  Build Element's Value from a Series of Attributes
Message-ID: <59b81281.-1@webcrossing.la2eafNXanI>
Date: Fri, 27 Feb 2009 14:18:29 -0800
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit