🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #523

Variables with the colon character

#523
From: Matt D Williams
Date: Fri, 31 Oct 2008 17:22
16 lines
1645 bytes
I am trying to create a variable in my book template that will reference the "xml:lang" attribute in my highest level "topic" tag. Presently ,the variable always shows up blank, I think due to the fact that FM reads the colon as an indicator to look in a specific tag for a specific attribute. Since there is no "xml" or "lang" tag it turns up no result.

Here are some options I've tried.

<$attribute[xml:lang]>
<$attribute[xml:lang:topic]>
<$attribute[topic:xml:lang]>
<$attribute["xml:lang"]>
<$attribute[(xml:lang)]>
<$attribute[xml\lang]>
<$attribute[xml/lang]>
...and other various incarnations of these

So far, the only option I can come up with that works is to create a user variable and simply change it before I publish to PDF each time or to mirror the value in an attribute which does not contain a colon like "audience" or "otherprops". Either of these is kind of a pain and I would like to avoid them if I can. If I can't, thats okay, but I'd prefer to automate as much as I can.

I am using FM 8.
Technical Details
Message-ID: <59b6e71e.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.nonexiste.net!news.nonexiste.net!feeder.erje.net!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,8345b7409a9efc22,start
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Matt D Williams" <matt.williams@liebherr.com>
Newsgroups: adobe.framemaker.sgml
Subject: Variables with the colon character
Message-ID: <59b6e71e.-1@webcrossing.la2eafNXanI>
Date: Fri, 31 Oct 2008 10:22:45 -0700
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.nonexiste.net!news.nonexiste.net!feeder.erje.net!news4us.nl!webcrossing