Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

How to prevent FrameMaker eating up significant whitespace

$
0
0

I have a paragraph that contains a number of inline elements, such as a <link> and a <uicontrol>. When these are only separated by a whitespace (which is significant in this case, as it separates the characters in the <link> from the characters in the <uicontrol>, the XML file produced by FM has replaced the whitespace with a carriage return, which of course disappears as it is supposed to be meaningless in XML.

 

I have tried to set the "preserve line breaks" rule on the enclosing <p> element but, apart from the fact that this is not what I intend to do, it does not make any difference on the whitespace between the two inline elements.

 

Is there any way to make FM not perform this obvious mistake? Or do I really have to use ExtendScript to first change the whitespace to a special <whitespace> character, so that this is kept in the XML output and can then be changed back into a regular whitespace by my XSLT (which I need in any case). Kind of ugly but it would work. If there is an easier way to do this, please tell me about it.

 

Ciao

 

Jang


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>