[Framers] Another Simple Structured App
Lynne A. Price
lprice at txstruct.com
Wed Mar 23 10:59:43 PDT 2022
C2,
Just to add a few details to the other responses, XSLT is a
programming language for transforming an XML document into another XML
document, HTML, or any text format. For example, XSLT can insert,
delete, or rearrange content, change attribute values to element content
or the reverse, and add, delete, or modify content or attribute values .
The processing you need is all typical of XSLT transformations. As Rick
has explained, when you open an XML document in FrameMaker, you can
optionally use XSLT to transform the input XML into another XML
document. FrameMaker then creates a structured document from this second
XML document.
Robert also makes a valid point. How will your command dictionary be
delivered? If the eventual goal is to produce HTML, you have the option
of using XSLT to create HTML and skip FrameMaker formatting.
--Lynne
On 3/22/2022 8:05 AM, cuc tu wrote:
> Our engineering group is giving me an XML file to build a dictionary of programming commands. I'm still a novice at structured frame and have two basic question s about using the XML content.
>
> All content is in attribute values. I'm sure I can make certain attributes visible, apply formatting, and add prefix/suffix. Can I automatically change the order of the content? They are presenting the definition before the command word. Can attribute values be pulled in from other elements?
--
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, and training
lprice at txstruct.com http://www.txstruct.com
voice/fax: (510) 583-1505 cell phone: (510) 421-2284
More information about the Framers
mailing list