🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #172

Re: Hard Carriage Returns on Paragraph and XML

#172
From: systecgmbhnuremberg
Date: Mon, 02 Feb 2009 10:48
38 lines
2099 bytes
Hello Mr. Hare,

you might try the following:

1. Adjust the template of your structapp to contain a variable named "hardreturn" whose definition is "\n" (without the quotiation marks).

2. In your R/W-Rules, write: entity "hardreturn"is fm char 0x09;

3. In every FM-Document you want to save as XML
a. also add the variable
b. assign the structapp

4. ..and do the following
a. insert the variable "hardreturn" somewhere and copy it into the clipboard, and delete the variable from your insertion point
b. Search for "\p\p" (=two consecutive hard returns, i.e. an "empty line" or for "\x09" (= a soft return) and "change" "by pasting".
The result should be a variable "hardreturn, wherever \p\p or \x09 was.

If you save this as XML, the \x09 from the variable should survive as an entity.

Hope this helps.
With kind regards,
Franz.
| FINALLY: Adobe FrameMaker 9 and TCS 2 have arrived!
| Training, Software, Support, Plugins, Services
| Everything from one expert provider!
 <http://www.systec-gmbh.com/en/sites/toolbox.php>
 <http://www.systec-gmbh.com/en/sites/ditapack.php>
 <http://www.systec-gmbh.com/en/sites/3dpack.php>

| phone +49 911 99 89 55 - 600
| fax +49 911 99 89 55 - 663
| E-Mail info@systec-gmbh.com

| Schreiberhauer Str. 5, 90475 N�rnberg
| Internet www.systec-gmbh.com

| CEO Dipl.-Ing. (FH) Georg Eck, Dipl.-Btw. (FH) Manfred Papp
| Amtsgericht N�rnberg HRB 9369 Umsatzsteuer-Identifikationsnummer DE 133560519
Technical Details
Message-ID: <59b78df2.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b78df2.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,d0269305a93bc2fb
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: systecgmbhnuremberg@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker.sgml
Subject: Re: Hard Carriage Returns on Paragraph and XML
Message-ID: <59b78df2.2@webcrossing.la2eafNXanI>
Date: Mon, 2 Feb 2009 02:48:09 -0800
References: <59b78df2.-1@webcrossing.la2eafNXanI>
Lines: 43
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit