Hi C2,

There are some fun things here, but I suggest that you post this on the
Adobe Community Forum for FrameMaker (forums.adobe.com, then search for
FrameMaker). There is not much action on this list anymore and I spend most
of my help time on the FrameMaker forum. I have some ideas that I will
respond with. Thanks.

Rick

-----Original Message-----
From: Framers <framers-bounces+rick=rickquatro....@lists.frameusers.com> On
Behalf Of cuc tu
Sent: Friday, March 1, 2024 4:52 PM
To: framers@lists.frameusers.com
Subject: [Framers] Back on Structured XML - stuck again

Hey all - it's been a long while since even using FrameMaker.

Quick Background:

The dev team supplies XML with most of the para content in element
attributes. I have an xsl script that breaks all those attributes as child
elements. I did this because I could not figure out how to get the attribute
values to print to a para format and use prefix/suffix rules.

Now the team is manually inserting line breaks and using /n to indicate a
soft return, but when read into FM, the /n prints and we a block of text. Is
there a way to address this in the xsl or RW rules?

The next question is with variables. A child element will make reference to
element values in another file. For example:

..<Range>$[Min]:$[Max]</Range>

There is a declaration in the main xml file:

<Include>
    <Include Path="..\..\ParserCommon\CommonXML\Variables.xml" />
  </Includes>

(side note: my xsl will convert the above attributes to child elements, and
then my RW rules drop all of those elements for now so they do not add empty
space)

and there is a Variables.xml file:

<variables>
..<variable name="Min" value="1" />
..<variable name="Max" value="4096" />
..
..
</variables>

How do I populate $[Min]:$[Max] with 1:4096?


The last item, the <Range> element above uses a prefix "Range:". I can apply
character formatting Bold, but what I really want to do is have "Range:" in
a right-aligned heading RunIn para format and then print the range value as
an indented format. The reason is that I can then have all of the colons
lined up for easier reading as I would many different heading RunIn texts.

Any assistance would be greatly appreciated.

Thanks C2
_______________________________________________

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

_______________________________________________

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

Reply via email to