🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14635

Re: Controlling line breaks on imported XML text

#14635
From: pjredman
Date: Mon, 26 Jan 2004 15:50
8 lines
1402 bytes
Susan,

The DTD can be used to validate the structure of the XML document either before it's imported into InDesign or within InDesign. XML imported into InDesign will retain the element sequence of the imported file (which may or may not be determined by the DTD depending on how strict it is). The mapping of XML elements to layout items can be set up ahead of time by creating empty containers (text and graphic frames) for your incoming XML elements.

By default InDesign retains white space and control characters in the imported document. This behavior can be changed by inserting a processing instruction into the XML file prior to import. Contact me via email if you want more information on the processing instruction for this.

Thanks,
Phil Redman
Technical Details
Message-ID: <2ccf905f.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf905f.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,be330f02602ca9fb
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-26 08:08:12 PST
From: pjredman@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Controlling line breaks on imported XML text
Message-ID: <2ccf905f.0@webx.la2eafNXanI>
Date: Mon, 26 Jan 2004 07:50:05 -0800
References: <2ccf905f.-1@webx.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit