🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #364

Re: FM8 and DITA -- Correct way to insert non-breaking spaces, etc.?

#364
From: Van_Kurtz
Date: Tue, 02 Dec 2008 13:53
11 lines
1849 bytes
Riley,

This may not help, but I use structured FrameMaker and our EDD defines a NoBrSpace ELEMENT, for which the EDD inserts a nonbreaking space. I do not export to XML, but my guess is that this element would be exported as an element but with no content. When read back into Frame, the Frame EDD inserts a nonbreaking space. No read-write rules are needed because the element remains an element in both the Frame space and the XML.

Now, I agree that this approach does NOT create a nonbreaking space in the XML; there it is just an element with no content. On the other hand, one can argue that a nonbreaking space is formatting, not content; it is used to prevent a line break at a certain spot in the content, which is formatting not content. IF the XML content is used elsewhere as XML data, such as content for a Web site, then maybe the Web site's CSS would be able to insert the correct code for a nonbreaking space.

Maybe the read-write rules can be defined to replace this element with the Ampersand-"nbsp"-semicolon code when exporting to XML and back to the element when importing to Frame. I have no idea how this would be done, just a concept.

If this helps, good; if not, sorry.

Van
Technical Details
Message-ID: <59b6e4bb.10@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing
References: <59b6e4bb.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,96dd8bf10b2a3e40
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Van_Kurtz@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: FM8 and DITA -- Correct way to insert
 non-breaking spaces, etc.?
Message-ID: <59b6e4bb.10@webcrossing.la2eafNXanI>
Date: Tue, 2 Dec 2008 05:53:09 -0800
References: <59b6e4bb.-1@webcrossing.la2eafNXanI>
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!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing